From 6619df49a7d62e4558ff6e9f07b983ba345ebb6b Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 19 Aug 2026 12:30:10 -0600 Subject: [PATCH] on implicit debug builds -> inform user of 'release' argument --- build.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index f636ea9c..c843111c 100644 --- a/build.bat +++ b/build.bat @@ -31,7 +31,7 @@ cd /D "%~dp0" :: --- Unpack Arguments ------------------------------------------------------- for %%a in (%*) do set "%%~a=1" if not "%msvc%"=="1" if not "%clang%"=="1" set msvc=1 -if not "%release%"=="1" set debug=1 +if not "%release%"=="1" set debug=1&& set debug_implicit=1 if "%debug%"=="1" set release=0 && echo [debug mode] if "%release%"=="1" set debug=0 && echo [release mode] if "%msvc%"=="1" set clang=0 && echo [msvc compile] @@ -187,3 +187,8 @@ if "%pgo_run%"=="1" ( ) goto restart ) + +:: --- Warn On Debug Builds (if debug not explicitly specified) --------------- +if "%debug_implicit%"=="1" ( + echo [INFO] Debug build complete. For a faster build, call this script with the `release` argument (this will take significantly longer than a debug build). +)