2018-05-26 01:57:13 +02:00
|
|
|
echo No explicit msvc version requested, autodetecting version.
|
|
|
|
|
2018-07-17 22:44:47 +02:00
|
|
|
call "%~dp0\detect_msvc2017.cmd"
|
2018-05-26 01:57:13 +02:00
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
|
|
|
call "%~dp0\detect_msvc2015.cmd"
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
|
|
|
echo Compiler Detection failed. Use verbose switch for more information.
|
|
|
|
exit /b 1
|
|
|
|
|
|
|
|
:DetectionComplete
|
|
|
|
echo Compiler Detection successfull, detected VS%BUILD_VS_YEAR%
|
|
|
|
exit /b 0
|