make.bat: Add convenience option to disable buildinfo
authorRay Molenkamp <github@lazydodo.com>
Sat, 1 Jun 2019 22:49:21 +0000 (16:49 -0600)
committerRay Molenkamp <github@lazydodo.com>
Sat, 1 Jun 2019 22:49:21 +0000 (16:49 -0600)
Optional parameter nobuildinfo turns WITH_BUILDINFO Off
which is helpful when doing development.

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

index a231d5b..0f87f87 100644 (file)
@@ -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" (
index 77852a7..03171b2 100644 (file)
@@ -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^)