Merge pull request #4035 from karl-zylinski/build-release-hint

Added a hint at end of build.bat about release mode when building in debug mode
This commit is contained in:
Jeroen van Rijn
2024-08-08 14:48:48 +02:00
committed by GitHub
+3
View File
@@ -116,6 +116,9 @@ if %errorlevel% neq 0 goto end_of_build
rem If the demo doesn't run for you and your CPU is more than a decade old, try -microarch:native
if %release_mode% EQU 0 odin run examples/demo -vet -strict-style -- Hellope World
rem Many non-compiler devs seem to run debug build but don't realize.
if %release_mode% EQU 0 echo: & echo Debug compiler built. Note: run "build.bat release" if you want a faster, release mode compiler.
del *.obj > NUL 2> NUL
:end_of_build