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:
authorRay Molenkamp <github@lazydodo.com>2019-06-02 01:49:21 +0300
committerRay Molenkamp <github@lazydodo.com>2019-06-02 01:49:21 +0300
commit893467a8e2d336db8b847d235a2a881925dfccc3 (patch)
tree76582e55395e2941b8e614a6a70d79b0a80d4b96 /build_files/windows
parent0360a2920dec9028d6532969788bfb0570ebb835 (diff)
make.bat: Add convenience option to disable buildinfo
Optional parameter nobuildinfo turns WITH_BUILDINFO Off which is helpful when doing development.
Diffstat (limited to 'build_files/windows')
-rw-r--r--build_files/windows/parse_arguments.cmd2
-rw-r--r--build_files/windows/show_help.cmd1
2 files changed, 3 insertions, 0 deletions
diff --git a/build_files/windows/parse_arguments.cmd b/build_files/windows/parse_arguments.cmd
index a231d5b16be..0f87f8787c4 100644
--- a/build_files/windows/parse_arguments.cmd
+++ b/build_files/windows/parse_arguments.cmd
@@ -70,6 +70,8 @@ if NOT "%1" == "" (
shift /1
) else if "%1" == "nobuild" (
set NOBUILD=1
+ ) else if "%1" == "nobuildinfo" (
+ set BUILD_CMAKE_ARGS=%BUILD_CMAKE_ARGS% -DWITH_BUILDINFO=Off
) else if "%1" == "pydebug" (
set WITH_PYDEBUG=1
) else if "%1" == "showhash" (
diff --git a/build_files/windows/show_help.cmd b/build_files/windows/show_help.cmd
index 77852a7f02e..03171b2ecaa 100644
--- a/build_files/windows/show_help.cmd
+++ b/build_files/windows/show_help.cmd
@@ -17,6 +17,7 @@ echo.
echo Configuration options
echo - verbose ^(enable diagnostic output during configuration^)
echo - with_tests ^(enable building unit tests^)
+echo - nobuildinfo ^(disable buildinfo^)
echo - noge ^(disable building game engine and player^)
echo - debug ^(Build an unoptimized debuggable build^)
echo - packagename [newname] ^(override default cpack package name^)