make.bat: only configure once
This commit is contained in:
19
make.bat
19
make.bat
@@ -125,15 +125,18 @@ if NOT EXIST %BUILD_DIR%\nul (
|
|||||||
mkdir %BUILD_DIR%
|
mkdir %BUILD_DIR%
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake ^
|
REM Only configure on first run
|
||||||
%BUILD_CMAKE_ARGS% ^
|
if NOT EXIST %BUILD_DIR%\Blender.sln (
|
||||||
-H%BLENDER_DIR% ^
|
cmake ^
|
||||||
-B%BUILD_DIR% ^
|
%BUILD_CMAKE_ARGS% ^
|
||||||
%BUILD_CMAKE_ARGS%
|
-H%BLENDER_DIR% ^
|
||||||
|
-B%BUILD_DIR% ^
|
||||||
|
%BUILD_CMAKE_ARGS%
|
||||||
|
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo "Configuration Failed"
|
echo "Configuration Failed"
|
||||||
goto EOF
|
goto EOF
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
msbuild ^
|
msbuild ^
|
||||||
|
Reference in New Issue
Block a user