summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cparser.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-10 00:40:03 +0800
committerruki <[email protected]>2020-11-10 11:33:27 +0800
commit6bd92e09bea0e6f1c707ab6bbf062f462b70c01d (patch)
tree0a4b18ceaa6cbdb7d896b7937425c438a437939c /xmake/modules/core/tools/cparser.lua
parent40b38d7cd88d9a0c3b870f6995c01dbd95c69981 (diff)
add nf_includedir
Diffstat (limited to 'xmake/modules/core/tools/cparser.lua')
-rw-r--r--xmake/modules/core/tools/cparser.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua
index d8603da30..4c6ef5d7b 100644
--- a/xmake/modules/core/tools/cparser.lua
+++ b/xmake/modules/core/tools/cparser.lua
@@ -118,6 +118,11 @@ function nf_includedir(self, dir)
return "-I" .. os.args(dir)
end
+-- make the sysincludedir flag
+function nf_sysincludedir(self, dir)
+ return nf_includedir(self, dir)
+end
+
-- make the link flag
function nf_link(self, lib)
return "-l" .. lib