mirror of
https://github.com/godotengine/godot-nir-static.git
synced 2025-12-31 13:48:20 +03:00
Add NDEBUG & disable DXIL optimizations.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user