diff options
| author | ruki <[email protected]> | 2023-06-22 21:02:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-06-22 21:02:04 +0800 |
| commit | d94de0431e41498ac7db3dc485ff50bbf2320497 (patch) | |
| tree | 1dabede050f2b901fbff0954d25946c538c3e548 /xmake/modules/package/tools/msbuild.lua | |
| parent | f6ab5618f9fe79edbb63546d94a52001e74dbce7 (diff) | |
upgrade vcproj
Diffstat (limited to 'xmake/modules/package/tools/msbuild.lua')
| -rw-r--r-- | xmake/modules/package/tools/msbuild.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/msbuild.lua b/xmake/modules/package/tools/msbuild.lua index a5ae6d9b4..0a2966855 100644 --- a/xmake/modules/package/tools/msbuild.lua +++ b/xmake/modules/package/tools/msbuild.lua @@ -29,7 +29,6 @@ function _get_parallel_njobs(opt) return opt.jobs or option.get("jobs") or tostring(os.default_njob()) end --- tra -- get msvc function _get_msvc(package) local msvc = toolchain.load("msvc", {plat = package:plat(), arch = package:arch()}) @@ -97,7 +96,7 @@ function build(package, configs, opt) -- upgrade vs solution file? -- @see https://github.com/xmake-io/xmake/issues/3871 if slnfile and opt.upgrade then - upgrade_vsproj.upgrade(slnfile, opt) + upgrade_vsproj.upgrade(slnfile, table.join(opt, {msvc = _get_msvc(package)})) end -- do build |
