summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
-rw-r--r--xmake/modules/core/tools/rc.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua
index 4ef61e2db..52d9c0100 100644
--- a/xmake/modules/core/tools/rc.lua
+++ b/xmake/modules/core/tools/rc.lua
@@ -28,6 +28,9 @@ import("core.project.project")
-- init it
function init(self)
+
+ -- init mrcflags
+ _g.mrcflags = {"-nologo"}
-- init buildmodes
_g.buildmodes =
@@ -43,12 +46,12 @@ end
-- make the define flag
function nf_define(self, macro)
- return "-d" .. macro
+ return "-D" .. macro
end
-- make the undefine flag
function nf_undefine(self, macro)
- return "-u" .. macro
+ return "-U" .. macro
end
-- make the includedir flag