diff options
Diffstat (limited to 'xmake/tools/cl.lua')
| -rw-r--r-- | xmake/tools/cl.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/tools/cl.lua b/xmake/tools/cl.lua index b74f93ea3..3986fac90 100644 --- a/xmake/tools/cl.lua +++ b/xmake/tools/cl.lua @@ -26,11 +26,14 @@ import("core.project.project") -- init it -function init(shellname) +function init(shellname, kind) -- save the shell name _g.shellname = shellname or "cl.exe" + -- save kind + _g.kind = kind + -- init cxflags _g.cxflags = { "-nologo", "-Gd", "-MP4", "-D_MBCS", "-D_CRT_SECURE_NO_WARNINGS"} |
