mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08: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="
9 lines
324 B
CMake
9 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()
|