Closed jinke18 closed 2 months ago
We shouldn't have modified it that way. First of all, 14.0 should be vs_toolset not vs_sdkver.
and
xmake f --vs_toolset/vs_sdkver
-> msvc toolchain/check
-> find_vstudio.lua -> get real toolset/sdkver -> generator/xmake build
so we should debug and check find_vstudio.lua
I'm sorry I made a mistake when submitting the pull request message.
it should be config vs_sdkver
xmake f --vs_sdkver=8.1
you still need debug find_vstudio.lua, if it works, vcvars.WindowsSDKVersion
will be changed to your configs after running xmake f --vs_sdkver=xxx
You can open an issue for this patch. I will look at it.
config vs_sdkver
but it has no effect when generate a vs project
this pull request fix this bug~