Add NDEBUG & disable DXIL optimizations.

This commit is contained in:
Skyth
2025-10-31 11:21:54 +03:00
parent c95c0dc8b0
commit eb3eef2b98
2 changed files with 37 additions and 0 deletions

View File

@@ -292,6 +292,9 @@ extra_defines = [
"WINDOWS_NO_FUTEX",
]
if env["optimize"] != "debug":
extra_defines += ["NDEBUG"]
# These defines are inspired by the Meson build scripts in the original repo.
extra_defines += [
"__STDC_CONSTANT_MACROS",