mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
a5c5c19bcf
"-DNDEBUG" will result in NDEBUG being defined as 0. To define it to nothing, like we do in our code, it must be "-DNDEBUG="
8 lines
324 B
CMake
8 lines
324 B
CMake
foreach(lang C CXX ASM)
|
|
set(CMAKE_${lang}_FLAGS_DEBUG "")
|
|
set(CMAKE_${lang}_FLAGS_MINSIZEREL "-Os -DNDEBUG=")
|
|
set(CMAKE_${lang}_FLAGS_RELEASE "")
|
|
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG=")
|
|
set(CMAKE_${lang}_IMPLICIT_LINK_LIBRARIES "")
|
|
set(CMAKE_${lang}_IMPLICIT_LINK_DIRECTORIES "")
|
|
endforeach()
|