This commit is contained in:
taynpg 2025-04-07 08:38:08 +08:00
parent 6eabb9a12c
commit b4ed1a9823

View File

@ -11,14 +11,14 @@ local function exists(mpath)
end end
function vsvar.get(config) function vsvar.get(config)
local vs2015_x64 = "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/vcvars64.bat" local vs2017_x64 = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Auxiliary/Build/vcvars64.bat"
if exists(vs2015_x64) then if exists(vs2017_x64) then
table.insert(config, { table.insert(config, {
label = "vs2015_x64", label = "vs2017_x64",
args = { args = {
"cmd.exe", "cmd.exe",
"/k", "/k",
vs2015_x64, vs2017_x64,
}, },
}) })
end end