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:
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/make.bat b/make.bat
index ea80bd591f7..e94f7637512 100644
--- a/make.bat
+++ b/make.bat
@@ -13,6 +13,14 @@ if errorlevel 1 goto EOF
call "%BLENDER_DIR%\build_files\windows\parse_arguments.cmd" %*
if errorlevel 1 goto EOF
+REM if it is one of the convenience targets and BLENDER_BIN is set
+REM skip compiler detection
+if "%ICONS%%ICONS_GEOM%%DOC_PY%" == "1" (
+ if EXIST "%BLENDER_BIN%" (
+ goto convenience_targets
+ )
+)
+
call "%BLENDER_DIR%\build_files\windows\find_dependencies.cmd"
if errorlevel 1 goto EOF
@@ -58,6 +66,23 @@ if "%BUILD_UPDATE%" == "1" (
call "%BLENDER_DIR%\build_files\windows\set_build_dir.cmd"
+:convenience_targets
+
+if "%ICONS%" == "1" (
+ call "%BLENDER_DIR%\build_files\windows\icons.cmd"
+ goto EOF
+)
+
+if "%ICONS_GEOM%" == "1" (
+ call "%BLENDER_DIR%\build_files\windows\icons_geom.cmd"
+ goto EOF
+)
+
+if "%DOC_PY%" == "1" (
+ call "%BLENDER_DIR%\build_files\windows\doc_py.cmd"
+ goto EOF
+)
+
echo Building blender with VS%BUILD_VS_YEAR% for %BUILD_ARCH% in %BUILD_DIR%
call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"