Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 16, 2024
1 parent e39ff9d commit c60da83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmake/modules/package/tools/cmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@ function _install_for_msvc(package, configs, opt)
local jobs = _get_parallel_njobs(opt)
local slnfile = assert(find_file("*.sln", os.curdir()), "*.sln file not found!")
local runenvs = _get_msvc_runenvs(package)
print("runenvs", runenvs)
local msbuild = assert(find_tool("msbuild", {envs = runenvs}), "msbuild not found!")
os.vrunv(msbuild.program, {slnfile, "-nologo", "-t:Rebuild", "/nr:false",
(jobs ~= nil and format("-m:%d", jobs) or "-m"),
Expand Down

0 comments on commit c60da83

Please sign in to comment.