Welcome to mirror list, hosted at ThFree Co, Russian Federation.

autodetect_msvc.cmd « windows « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85b3c095d1f59e7bd737f296b680ab8c37625226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
echo No explicit msvc version requested, autodetecting version.

call "%~dp0\detect_msvc2017.cmd"
if %ERRORLEVEL% EQU 0 goto DetectionComplete

call "%~dp0\detect_msvc2019.cmd"
if %ERRORLEVEL% EQU 0 goto DetectionComplete

echo Compiler Detection failed. Use verbose switch for more information. 
exit /b 1

:DetectionComplete
echo Compiler Detection successful, detected VS%BUILD_VS_YEAR%
exit /b 0