Commit: 893467a8e2d336db8b847d235a2a881925dfccc3
Author: Ray Molenkamp
Date:   Sat Jun 1 16:49:21 2019 -0600
Branches: master
https://developer.blender.org/rB893467a8e2d336db8b847d235a2a881925dfccc3

make.bat: Add convenience option to disable buildinfo

Optional parameter nobuildinfo turns WITH_BUILDINFO Off
which is helpful when doing development.

===================================================================

M       build_files/windows/parse_arguments.cmd
M       build_files/windows/show_help.cmd

===================================================================

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^)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to