summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/nmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-16 18:27:00 +0800
committerruki <[email protected]>2015-06-16 18:27:00 +0800
commitd549aaedf96e6d6eb77e9d588dc0a0269cd1ae71 (patch)
tree51d971fe326561b62895743a38a1544af6df2dff /xmake/scripts/platform/windows/tools/nmake.lua
parent608602d0de1056f856e0b6bfe33b3f5fbe641b63 (diff)
fix the command is too long for nmake
Diffstat (limited to 'xmake/scripts/platform/windows/tools/nmake.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/nmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/tools/nmake.lua b/xmake/scripts/platform/windows/tools/nmake.lua
index f84f9ee6f..0ba2e32e3 100644
--- a/xmake/scripts/platform/windows/tools/nmake.lua
+++ b/xmake/scripts/platform/windows/tools/nmake.lua
@@ -55,9 +55,9 @@ function nmake.main(self, mkfile, target)
-- make command
local cmd = nil
if mkfile and os.isfile(mkfile) then
- cmd = string.format("%s /f %s %s VERBOSE=%s 2> %s", self._NAME, mkfile, target or "", self._VERBOSE, xmake._NULDEV)
+ cmd = string.format("%s /nologo /f %s %s VERBOSE=%s", self._NAME, mkfile, target or "", self._VERBOSE)
else
- cmd = string.format("%s %s VERBOSE=%s 2> %s", self._NAME, target or "", self._VERBOSE, xmake._NULDEV)
+ cmd = string.format("%s /nologo %s VERBOSE=%s", self._NAME, target or "", self._VERBOSE)
end
-- done