diff options
| author | ruki <[email protected]> | 2018-05-06 22:39:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-06 22:39:53 +0800 |
| commit | fe2669e329adbc7bf94ecfb6db1f08c54d506a7c (patch) | |
| tree | 1504ed76cb01999ff2a68f37b2736948d4696833 /xmake/modules/core/tools/rc.lua | |
| parent | 19897786b3cfef22fe20275af7e72ae6826a75f5 (diff) | |
rename kmdf driver to .sys
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 7 |
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 |
