summaryrefslogtreecommitdiff
path: root/build.ninja
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-12 12:25:52 +1100
committerquou <quou@disroot.org>2025-02-12 12:25:52 +1100
commit0de071eb23d6774042e7f466591483b4e72e9473 (patch)
tree68ed852022150ab899f53287b238730691f42769 /build.ninja
parentb158b17aa56f097fabf2fdfc4ce5645239c4bc8d (diff)
update the windows build scripts to use compiler optimisation
Diffstat (limited to 'build.ninja')
-rw-r--r--build.ninja4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.ninja b/build.ninja
index 86492d1..541cca9 100644
--- a/build.ninja
+++ b/build.ninja
@@ -1,13 +1,13 @@
# generated by configure.lua
-cflags = /nologo /Z7 /DDEBUG /MD /std:c++20 /Isc\glslang /Iqstd /Icfg /Dplat_win /Dplat_x86 /Dallocation_default_alignment=8
+cflags = /nologo /MD /std:c++20 /Isc\glslang /Iqstd /Icfg /Dplat_win /Dplat_x86 /Dallocation_default_alignment=8 /O2 /DNDEBUG
rule cpp
command = cl $cflags $in /c /Fo: "$out"
deps = msvc
rule link
- command = cl /nologo $in /Fe: "$out" /link /DEBUG $libs
+ command = cl /nologo $in /Fe: "$out" /link $libs
rule lib
command = lib /nologo $in /out:"$out"