make.bat: Preliminary Visual Studio 2019 support.
[blender.git] / build_files / windows / autodetect_msvc.cmd
1 echo No explicit msvc version requested, autodetecting version.
2
3 call "%~dp0\detect_msvc2017.cmd"
4 if %ERRORLEVEL% EQU 0 goto DetectionComplete
5
6 call "%~dp0\detect_msvc2019.cmd"
7 if %ERRORLEVEL% EQU 0 goto DetectionComplete
8
9 call "%~dp0\detect_msvc2015.cmd"
10 if %ERRORLEVEL% EQU 0 goto DetectionComplete
11
12 echo Compiler Detection failed. Use verbose switch for more information. 
13 exit /b 1
14
15 :DetectionComplete
16 echo Compiler Detection successful, detected VS%BUILD_VS_YEAR%
17 exit /b 0