Windows: Add MS BuildTools support to msvs_env.bat (issue #2545)
This commit is contained in:
parent
7ea19d740d
commit
f5a3fd6430
|
@ -29,7 +29,7 @@ if exist %vcvars% goto found_vcvars
|
||||||
|
|
||||||
:: Search for the default VS2017 installation path.
|
:: Search for the default VS2017 installation path.
|
||||||
for %%x in ("%PROGRAMFILES(X86)%" "%PROGRAMFILES%") do (
|
for %%x in ("%PROGRAMFILES(X86)%" "%PROGRAMFILES%") do (
|
||||||
for %%y in (Professional Enterprise Community) do (
|
for %%y in (Professional Enterprise Community BuildTools) do (
|
||||||
set vcvars="%%~x\Microsoft Visual Studio\2017\%%y\VC\Auxiliary\Build\vcvars%bits%.bat"
|
set vcvars="%%~x\Microsoft Visual Studio\2017\%%y\VC\Auxiliary\Build\vcvars%bits%.bat"
|
||||||
if exist !vcvars! goto found_vcvars
|
if exist !vcvars! goto found_vcvars
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue