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
|
|
|
|
|
2019-02-23 04:49:22 +01:00
|
|
|
call "%~dp0\detect_msvc2019.cmd"
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
2021-06-22 02:11:30 +02:00
|
|
|
call "%~dp0\detect_msvc2022.cmd"
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
2018-05-26 01:57:13 +02:00
|
|
|
echo Compiler Detection failed. Use verbose switch for more information.
|
|
|
|
exit /b 1
|
|
|
|
|
|
|
|
:DetectionComplete
|
2018-07-23 00:02:28 +02:00
|
|
|
echo Compiler Detection successful, detected VS%BUILD_VS_YEAR%
|
2018-05-26 01:57:13 +02:00
|
|
|
exit /b 0
|