diff options
| author | ruki <[email protected]> | 2020-11-10 00:40:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-10 11:33:27 +0800 |
| commit | 6bd92e09bea0e6f1c707ab6bbf062f462b70c01d (patch) | |
| tree | 0a4b18ceaa6cbdb7d896b7937425c438a437939c /xmake/modules/core/tools/ml.lua | |
| parent | 40b38d7cd88d9a0c3b870f6995c01dbd95c69981 (diff) | |
add nf_includedir
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 0e79bc581..25ea112c7 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -90,6 +90,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 compile arguments list function compargv(self, sourcefile, objectfile, flags) return self:program(), table.join("-c", flags, "-Fo" .. os.args(objectfile), sourcefile) |
