4dbe009a890fa5e6c479d6fbd599db00e478994d
[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_msvc2015.cmd"
7 if %ERRORLEVEL% EQU 0 goto DetectionComplete
8
9 echo Compiler Detection failed. Use verbose switch for more information. 
10 exit /b 1
11
12 :DetectionComplete
13 echo Compiler Detection successful, detected VS%BUILD_VS_YEAR%
14 exit /b 0