xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
9.87k stars 776 forks source link

fixbug: for cases when WindowsSDKVersion variable is not available #5411

Closed jinke18 closed 2 months ago

jinke18 commented 2 months ago

find_vstudio.lua

for some cases, the variable WindowsSDKVersion is not available from vcvarsall.bat, i parse it from WindowsSdkBinPath, such as: C:\\Program Files (x86)\\Windows Kits\\8.1\\bin.

jinke18 commented 2 months ago

see https://github.com/xmake-io/xmake/pull/5388