diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-05-18 19:34:33 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-05-18 19:34:33 +0300 |
commit | db3f3d4d236f873aaadf0cbefee5139a7887d9af (patch) | |
tree | 08526e87c8932be43fb33af0b2a4ffae32448768 /build_files/windows/parse_arguments.cmd | |
parent | 94db2c1f32438ad988b1314e0f4d2d1349784547 (diff) |
make.bat: Add option to only update sources from git.
SVN takes a long time to sync even if there are no updates,
the `code_update` parameter gives the option opt out of the
SVN updates.
This is a developer option, people just wanting to build
blender and not do any development are highly recommended
to keep using the `update` method.
Diffstat (limited to 'build_files/windows/parse_arguments.cmd')
-rw-r--r-- | build_files/windows/parse_arguments.cmd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build_files/windows/parse_arguments.cmd b/build_files/windows/parse_arguments.cmd index 98c5708c216..a231d5b16be 100644 --- a/build_files/windows/parse_arguments.cmd +++ b/build_files/windows/parse_arguments.cmd @@ -77,6 +77,12 @@ if NOT "%1" == "" ( REM Non-Build Commands ) else if "%1" == "update" ( SET BUILD_UPDATE=1 + set BUILD_UPDATE_SVN=1 + set BUILD_UPDATE_GIT=1 + ) else if "%1" == "code_update" ( + SET BUILD_UPDATE=1 + set BUILD_UPDATE_SVN=0 + set BUILD_UPDATE_GIT=1 ) else if "%1" == "ninja" ( SET BUILD_WITH_NINJA=1 ) else if "%1" == "clean" ( |