summaryrefslogtreecommitdiff
path: root/build_win32.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build_win32.bat')
-rw-r--r--build_win32.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_win32.bat b/build_win32.bat
index 7c4e008..d16a7ca 100644
--- a/build_win32.bat
+++ b/build_win32.bat
@@ -12,9 +12,9 @@ ld -r -b binary -o bin/debug/data.obj LICENSE misc/logo_64.png imgui/LICENSE imf
if "%1"=="-release" (
@set OUT_DIR=bin\\release
- @set FLAGS=/GL /OPT:REF /O2
+ @set FLAGS=/GL /O2 /DTS_RELEASE
)
mkdir %OUT_DIR%
-cl /std:c++17 /nologo /W3 /Zi /MD /EHsc /Isrc/windows /Iimgui /Iimgui/backends /Isrc /utf-8 %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fd%OUT_DIR%/vc140.pdb /Fo%OUT_DIR%/ /link %LIBS%
+cl /std:c++17 /nologo %FLAGS% /W3 /Zi /MD /EHsc /Isrc/windows /Iimgui /Iimgui/backends /Isrc /utf-8 %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fd%OUT_DIR%/vc140.pdb /Fo%OUT_DIR%/ /link %LIBS%
if "%1"=="-r" call "bin/debug/text-search.exe"
if "%1"=="-d" call devenv "bin/debug/text-search.exe"