[Bf-blender-cvs] [b8297923ca7] lineart-shadow: make.bat: Update detection order of MSVC

Ray Molenkamp noreply at git.blender.org
Tue Jul 13 10:45:57 CEST 2021


Commit: b8297923ca746c0c014083e88e3a4b91cd320b27
Author: Ray Molenkamp
Date:   Fri Jul 9 15:17:05 2021 -0600
Branches: lineart-shadow
https://developer.blender.org/rBb8297923ca746c0c014083e88e3a4b91cd320b27

make.bat: Update detection order of MSVC

VS2019 is the preferred version to use these
days, look for it before looking for 2017
and 2022.

===================================================================

M	build_files/windows/autodetect_msvc.cmd

===================================================================

diff --git a/build_files/windows/autodetect_msvc.cmd b/build_files/windows/autodetect_msvc.cmd
index 6cee4765b93..a4ab8929040 100644
--- a/build_files/windows/autodetect_msvc.cmd
+++ b/build_files/windows/autodetect_msvc.cmd
@@ -1,9 +1,9 @@
 echo No explicit msvc version requested, autodetecting version.
 
-call "%~dp0\detect_msvc2017.cmd"
+call "%~dp0\detect_msvc2019.cmd"
 if %ERRORLEVEL% EQU 0 goto DetectionComplete
 
-call "%~dp0\detect_msvc2019.cmd"
+call "%~dp0\detect_msvc2017.cmd"
 if %ERRORLEVEL% EQU 0 goto DetectionComplete
 
 call "%~dp0\detect_msvc2022.cmd"



More information about the Bf-blender-cvs mailing list