Adding vsvars32.bat is vsvarall cannot be found

This commit is contained in:
Sebastien Ros
2017-01-03 13:42:27 -08:00
parent 6df57dd098
commit 7a9f86dac6

View File

@@ -17,6 +17,17 @@ FOR %%b in (
)
)
FOR %%b in (
"%VS140COMNTOOLS%\vsvars32.bat"
"%VS120COMNTOOLS%\vsvars32.bat"
"%VS110COMNTOOLS%\vsvars32.bat"
) do (
if exist %%b (
call %%b
goto build
)
)
echo "Unable to detect suitable environment. Build may not succeed."
:build