Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-04-16 18:05:31 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-04-16 18:10:02 +0300
commit2a891842afabcbb903897cfd56f7389f02d7e3b4 (patch)
tree72c98d1b4bba098698f6457dd2060e0450b97493 /make.bat
parent49e4182b6c9f3c78fe54b66170e992fb02e2c59a (diff)
Clang-format: Speed up detection of clang-format
Don't construct the full build environment, following feedback from Ray.
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat17
1 files changed, 9 insertions, 8 deletions
diff --git a/make.bat b/make.bat
index 4245071870c..17f9741cf89 100644
--- a/make.bat
+++ b/make.bat
@@ -31,6 +31,12 @@ if "%BUILD_UPDATE%" == "1" (
goto EOF
)
+
+if "%FORMAT%" == "1" (
+ call "%BLENDER_DIR%\build_files\windows\format.cmd"
+ goto EOF
+)
+
call "%BLENDER_DIR%\build_files\windows\detect_architecture.cmd"
if "%BUILD_VS_YEAR%" == "" (
@@ -47,18 +53,13 @@ if "%BUILD_VS_YEAR%" == "" (
)
)
-call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
-if errorlevel 1 goto EOF
-
-if "%FORMAT%" == "1" (
- call "%BLENDER_DIR%\build_files\windows\format.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%
+call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
+if errorlevel 1 goto EOF
+
call "%BLENDER_DIR%\build_files\windows\check_submodules.cmd"
if errorlevel 1 goto EOF