From 0de071eb23d6774042e7f466591483b4e72e9473 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 12 Feb 2025 12:25:52 +1100 Subject: update the windows build scripts to use compiler optimisation --- build.ninja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.ninja') 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" -- cgit v1.2.3-54-g00ecf