From af060cd47c0673ef415769b36222f42b37a4a146 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 8 Jun 2015 15:05:57 +0800 Subject: add undefines for project --- xmake/scripts/platform/windows/tools/cl.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xmake/scripts/platform/windows/tools/cl.lua') 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) -- cgit v1.3.1