diff options
| author | ruki <[email protected]> | 2022-03-21 23:06:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-21 23:06:35 +0800 |
| commit | e538f1f2db00e497e61ede972f406855f8d9e13b (patch) | |
| tree | 6e4fe9eb591c341fda9e32b79446c8c78637b0f4 /xmake/modules/package/tools/cmake.lua | |
| parent | 91eaf2fb94584daf5a38dbed6876877f7743f56a (diff) | |
improve xmake.lua for core
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 39f1e25f8..b5b47ced2 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -628,7 +628,7 @@ function _install_for_msvc(package, configs, opt) local slnfile = assert(find_file("*.sln", os.curdir()), "*.sln file not found!") local runenvs = _get_msvc_runenvs(package) local msbuild = assert(find_tool("msbuild", {envs = runenvs}), "msbuild not found!") - os.vrunv(msbuild.program, {slnfile, "-nologo", "-t:Rebuild", + os.vrunv(msbuild.program, {slnfile, "-nologo", "-t:Rebuild", "/nr:false", (jobs ~= nil and format("-m:%d", jobs) or "-m"), "-p:Configuration=" .. (package:is_debug() and "Debug" or "Release"), "-p:Platform=" .. (package:is_arch("x64") and "x64" or "Win32")}, {envs = runenvs}) |
