on implicit debug builds -> inform user of 'release' argument

This commit is contained in:
Ryan Fleury committed 2026-08-19 12:30:10 -06:00
1 parent 8a5979a1a6
commit 6619df49a7
1 file changed
+6 -1
+6 -1
View File
@@ -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).
)