Build: integrate make_update.py into Windows make.bat

This commit is contained in:
Brecht Van Lommel
2019-08-23 19:35:02 +02:00
parent fd48e17461
commit e218d8c24b
7 changed files with 122 additions and 77 deletions

View File

@@ -26,12 +26,6 @@ if "%SHOW_HELP%" == "1" (
goto EOF
)
if "%BUILD_UPDATE%" == "1" (
call "%BLENDER_DIR%\build_files\windows\update_sources.cmd"
goto EOF
)
if "%FORMAT%" == "1" (
call "%BLENDER_DIR%\build_files\windows\format.cmd"
goto EOF
@@ -54,6 +48,14 @@ if "%BUILD_VS_YEAR%" == "" (
)
)
if "%BUILD_UPDATE%" == "1" (
call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
if errorlevel 1 goto EOF
call "%BLENDER_DIR%\build_files\windows\update_sources.cmd"
goto EOF
)
call "%BLENDER_DIR%\build_files\windows\set_build_dir.cmd"
echo Building blender with VS%BUILD_VS_YEAR% for %BUILD_ARCH% in %BUILD_DIR%