From 893467a8e2d336db8b847d235a2a881925dfccc3 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Sat, 1 Jun 2019 16:49:21 -0600 Subject: make.bat: Add convenience option to disable buildinfo Optional parameter nobuildinfo turns WITH_BUILDINFO Off which is helpful when doing development. --- build_files/windows/parse_arguments.cmd | 2 ++ build_files/windows/show_help.cmd | 1 + 2 files changed, 3 insertions(+) (limited to 'build_files') 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^) -- cgit v1.2.3