summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/_maker.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-03 17:32:55 +0800
committerruki <[email protected]>2015-06-03 17:32:55 +0800
commit81970742272dc8b6f406f91f216374777786d256 (patch)
tree86a3983dc24558015b7d7356ecd1ddb905355078 /xmake/scripts/platform/windows/_maker.lua
parentfc3638d5128d6f652d79df8985ca5efcb104d22f (diff)
redirect building output
Diffstat (limited to 'xmake/scripts/platform/windows/_maker.lua')
-rw-r--r--xmake/scripts/platform/windows/_maker.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/_maker.lua b/xmake/scripts/platform/windows/_maker.lua
index f7bdddbf3..40df24e17 100644
--- a/xmake/scripts/platform/windows/_maker.lua
+++ b/xmake/scripts/platform/windows/_maker.lua
@@ -79,9 +79,9 @@ function _maker.done(mkfile, target)
-- make command
local cmd = nil
if mkfile and os.isfile(mkfile) then
- cmd = string.format("nmake /f %s %s", mkfile, target or "")
+ cmd = string.format("nmake /f %s %s 2> nul", mkfile, target or "")
else
- cmd = string.format("nmake %s", target or "")
+ cmd = string.format("nmake %s 2> nul", target or "")
end
-- done