[Bf-blender-cvs] [c91bdaf55b] master: Build dir should be set after the sanity checks

Aaron noreply at git.blender.org
Thu Jan 19 22:01:32 CET 2017


Commit: c91bdaf55b26bf156619f20ae6d9779ced56a7f5
Author: Aaron
Date:   Thu Jan 19 15:55:50 2017 -0500
Branches: master
https://developer.blender.org/rBc91bdaf55b26bf156619f20ae6d9779ced56a7f5

Build dir should be set after the sanity checks

Error here is that if do not have 2012 it switch to 2015 but not change the build dir

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

M	make.bat

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

diff --git a/make.bat b/make.bat
index f3ec646dc8..c73101d143 100644
--- a/make.bat
+++ b/make.bat
@@ -129,9 +129,6 @@ if "%BUILD_ARCH%"=="x64" (
 )
 
 
-set BUILD_DIR=%BUILD_DIR%_%TARGET%_%BUILD_ARCH%_vc%BUILD_VS_VER%_%BUILD_TYPE%
-
-
 if "%target%"=="Release" (
 		rem for vc12 check for both cuda 7.5 and 8 
 		if "%CUDA_PATH%"=="" (
@@ -173,7 +170,7 @@ where /Q msbuild
 if %ERRORLEVEL% NEQ 0 (
 	if "%BUILD_VS_VER%"=="12" (
 		rem vs12 not found, try vs14
-		echo Visual Studio 2012 not found, trying Visual Studio 2015.
+		echo Visual Studio 2013 not found, trying Visual Studio 2015.
 		set BUILD_VS_VER=14
 		set BUILD_VS_YEAR=2015
 		goto DetectMSVC
@@ -184,6 +181,11 @@ if %ERRORLEVEL% NEQ 0 (
 		goto EOF
 	)
 )
+
+
+set BUILD_DIR=%BUILD_DIR%_%TARGET%_%BUILD_ARCH%_vc%BUILD_VS_VER%_%BUILD_TYPE%
+
+
 where /Q cmake
 if %ERRORLEVEL% NEQ 0 (
 	echo Error: "CMake" command not in the PATH.




More information about the Bf-blender-cvs mailing list