diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-23 20:35:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-30 18:57:18 +0300 |
commit | e218d8c24bfbd5384e040417e533ede96c4e831b (patch) | |
tree | 962ef76ad77e62e4c1eb66bcac093e55c10cd2e1 /make.bat | |
parent | fd48e17461e391c90ff9af96650480b35190e37e (diff) |
Build: integrate make_update.py into Windows make.bat
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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% |