mirror of https://github.com/CGAL/cgal
Define CGAL_NDEBUG instead of NDEBUG
This commit is contained in:
parent
6d1ae7e0ac
commit
9e8b46a357
|
|
@ -165,12 +165,12 @@ CMAKE_CXX_FLAGS:STRING= -frounding-math -ffriend-injection -fno-strict-aliasing
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
//Flags used by the compiler during release minsize builds.
|
//Flags used by the compiler during release minsize builds.
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DCGAL_NDEBUG
|
||||||
|
|
||||||
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
||||||
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
||||||
// files).
|
// files).
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DCGAL_NDEBUG
|
||||||
|
|
||||||
//Flags used by the compiler during Release with Debug Info builds.
|
//Flags used by the compiler during Release with Debug Info builds.
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
||||||
|
|
@ -185,12 +185,12 @@ CMAKE_C_FLAGS:STRING=
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
//Flags used by the compiler during release minsize builds.
|
//Flags used by the compiler during release minsize builds.
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DCGAL_NDEBUG
|
||||||
|
|
||||||
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
||||||
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
||||||
// files).
|
// files).
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DCGAL_NDEBUG
|
||||||
|
|
||||||
//Flags used by the compiler during Release with Debug Info builds.
|
//Flags used by the compiler during Release with Debug Info builds.
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue