2018-05-25 17:57:13 -06:00
|
|
|
echo No explicit msvc version requested, autodetecting version.
|
|
|
|
|
2018-07-17 14:44:47 -06:00
|
|
|
call "%~dp0\detect_msvc2017.cmd"
|
2018-05-25 17:57:13 -06:00
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
2019-02-22 20:49:22 -07:00
|
|
|
call "%~dp0\detect_msvc2019.cmd"
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
2018-05-25 17:57:13 -06:00
|
|
|
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
|
2018-07-22 16:02:28 -06:00
|
|
|
echo Compiler Detection successful, detected VS%BUILD_VS_YEAR%
|
2018-05-25 17:57:13 -06:00
|
|
|
exit /b 0
|