diff options
| author | ruki <[email protected]> | 2015-06-08 15:05:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-08 15:05:57 +0800 |
| commit | af060cd47c0673ef415769b36222f42b37a4a146 (patch) | |
| tree | cbb4e7d0e0e0e96739d403b12493c43314234306 /xmake/scripts/platform/windows | |
| parent | d3258129a4a1ba9886b7e8d773ba8e4ec956b4a6 (diff) | |
add undefines for project
Diffstat (limited to 'xmake/scripts/platform/windows')
| -rw-r--r-- | xmake/scripts/platform/windows/tools/cl.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/scripts/platform/windows/tools/cl.lua b/xmake/scripts/platform/windows/tools/cl.lua index 84b5b33ac..7c97f653c 100644 --- a/xmake/scripts/platform/windows/tools/cl.lua +++ b/xmake/scripts/platform/windows/tools/cl.lua @@ -89,6 +89,13 @@ function cl.flag_define(define) return "-D" .. define end +-- make the undefine flag +function cl.flag_undefine(undefine) + + -- make it + return "-U" .. undefine +end + -- make the includedir flag function cl.flag_includedir(includedir) |
