diff options
| author | ruki <[email protected]> | 2017-07-13 14:06:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-13 14:06:43 +0800 |
| commit | 73ed3035706e0e7e4891bcee9e351cc3c819b34a (patch) | |
| tree | 7db5b6603c59f6b33928debd0e602397069c14d1 /xmake/modules/core/tools/cl.lua | |
| parent | b7ae88c507b9afe89cd677ee81894e44a961a4b4 (diff) | |
fix vs201x project and cl script
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 542469c5b..300ab8be9 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -211,7 +211,8 @@ function _compile1(self, sourcefile, objectfile, incdepfile, flags) -- generate includes file if incdepfile then - flags = (flags or "") .. " -showIncludes" + flags = flags or {} + table.insert(flags, "-showIncludes") end -- compile it |
