summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/cl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/windows/tools/cl.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/cl.lua7
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)