Commit: dc20db1c6c96d42277b1e17c9b9779f57b40f94e
Author: Campbell Barton
Date:   Sat Jan 2 06:30:19 2016 +1100
Branches: master
https://developer.blender.org/rBdc20db1c6c96d42277b1e17c9b9779f57b40f94e

make.bat: only configure once

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

M       make.bat

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

diff --git a/make.bat b/make.bat
index 06137f5..c62efbd 100644
--- a/make.bat
+++ b/make.bat
@@ -125,15 +125,18 @@ if NOT EXIST %BUILD_DIR%\nul (
        mkdir %BUILD_DIR%
 )
 
-cmake ^
-       %BUILD_CMAKE_ARGS% ^
-       -H%BLENDER_DIR% ^
-       -B%BUILD_DIR% ^
-       %BUILD_CMAKE_ARGS%
-
-if %ERRORLEVEL% NEQ 0 (
-       echo "Configuration Failed"
-       goto EOF
+REM Only configure on first run
+if NOT EXIST %BUILD_DIR%\Blender.sln (
+       cmake ^
+               %BUILD_CMAKE_ARGS% ^
+               -H%BLENDER_DIR% ^
+               -B%BUILD_DIR% ^
+               %BUILD_CMAKE_ARGS%
+
+       if %ERRORLEVEL% NEQ 0 (
+               echo "Configuration Failed"
+               goto EOF
+       )
 )
 
 msbuild ^

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to