2018-05-25 17:57:13 -06:00
|
|
|
echo No explicit msvc version requested, autodetecting version.
|
|
|
|
|
|
2021-07-09 15:17:05 -06:00
|
|
|
call "%~dp0\detect_msvc2019.cmd"
|
2018-05-25 17:57:13 -06:00
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
|
2021-06-21 18:11:30 -06:00
|
|
|
call "%~dp0\detect_msvc2022.cmd"
|
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
|
2025-09-11 08:48:53 -06:00
|
|
|
call "%~dp0\detect_msvc2026.cmd"
|
|
|
|
|
if %ERRORLEVEL% EQU 0 goto DetectionComplete
|
|
|
|
|
|
2018-05-25 17:57:13 -06:00
|
|
|
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
|