mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-28 08:33:21 -08:00
on implicit debug builds -> inform user of 'release' argument
This commit is contained in:
1 parent
8a5979a1a6
commit
6619df49a7
1 file changed
+6
-1
@@ -31,7 +31,7 @@ cd /D "%~dp0"
|
|||||||
:: --- Unpack Arguments -------------------------------------------------------
|
:: --- Unpack Arguments -------------------------------------------------------
|
||||||
for %%a in (%*) do set "%%~a=1"
|
for %%a in (%*) do set "%%~a=1"
|
||||||
if not "%msvc%"=="1" if not "%clang%"=="1" set msvc=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 "%debug%"=="1" set release=0 && echo [debug mode]
|
||||||
if "%release%"=="1" set debug=0 && echo [release mode]
|
if "%release%"=="1" set debug=0 && echo [release mode]
|
||||||
if "%msvc%"=="1" set clang=0 && echo [msvc compile]
|
if "%msvc%"=="1" set clang=0 && echo [msvc compile]
|
||||||
@@ -187,3 +187,8 @@ if "%pgo_run%"=="1" (
|
|||||||
)
|
)
|
||||||
goto restart
|
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).
|
||||||
|
)
|
||||||
Reference in new issue
Block a user