[Bf-blender-cvs] [0062813c731] master: make.bat: Improve messaging when not detecting MSVC

Ray Molenkamp noreply at git.blender.org
Tue Mar 31 21:14:21 CEST 2020


Commit: 0062813c731ff2a0866d86a2b0558c67b8091f37
Author: Ray Molenkamp
Date:   Tue Mar 31 13:14:16 2020 -0600
Branches: master
https://developer.blender.org/rB0062813c731ff2a0866d86a2b0558c67b8091f37

make.bat: Improve messaging when not detecting MSVC

Inspired by @mrwhite in D7295

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

M	build_files/windows/detect_msvc_vswhere.cmd

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

diff --git a/build_files/windows/detect_msvc_vswhere.cmd b/build_files/windows/detect_msvc_vswhere.cmd
index 609375cee89..52f765c20c4 100644
--- a/build_files/windows/detect_msvc_vswhere.cmd
+++ b/build_files/windows/detect_msvc_vswhere.cmd
@@ -27,7 +27,13 @@ if NOT "%verbose%" == "" (
 
 if "%VS_InstallDir%"=="" (
 	if NOT "%verbose%" == "" (
-		echo Visual Studio is detected but the "Desktop development with C++" workload has not been instlled
+		echo.
+		echo Visual Studio is detected but no suitable installation was found. 
+		echo.
+		echo Check the "Desktop development with C++" workload has been installed. 
+		echo. 
+		echo If you are attempting to use either Visual Studio Preview version or the Visual C++ Build tools, Please see 'make help' on how to opt in to those toolsets.
+		echo. 
 		goto FAIL
 	)
 )



More information about the Bf-blender-cvs mailing list