Build: defines NDEBUG in Release
This commit is contained in:
parent
8bcd74ab04
commit
1feb4b2ba7
|
|
@ -14,6 +14,7 @@ Miscellaneous:
|
||||||
- Updated premake5-linux64 with a nightly to fix a build error when a previous version of Nazara was installed on the system.
|
- Updated premake5-linux64 with a nightly to fix a build error when a previous version of Nazara was installed on the system.
|
||||||
- Fix compilation with some MinGW distributions
|
- Fix compilation with some MinGW distributions
|
||||||
- Add Lua unit tests
|
- Add Lua unit tests
|
||||||
|
- NDEBUG is now defined in Release
|
||||||
|
|
||||||
Nazara Engine:
|
Nazara Engine:
|
||||||
- VertexMapper:GetComponentPtr no longer throw an error if component is disabled or incompatible with template type, instead a null pointer is returned.
|
- VertexMapper:GetComponentPtr no longer throw an error if component is disabled or incompatible with template type, instead a null pointer is returned.
|
||||||
|
|
|
||||||
|
|
@ -821,6 +821,7 @@ function NazaraBuild:PrepareGeneric()
|
||||||
|
|
||||||
-- Setup some optimizations for release
|
-- Setup some optimizations for release
|
||||||
filter("configurations:Release*")
|
filter("configurations:Release*")
|
||||||
|
defines("NDEBUG")
|
||||||
optimize("Speed")
|
optimize("Speed")
|
||||||
vectorextensions("SSE2")
|
vectorextensions("SSE2")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue