diff options
Diffstat (limited to 'Modules/Platform/Windows-bcc32.cmake')
-rw-r--r-- | Modules/Platform/Windows-bcc32.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index c945195..92cbe7b 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -74,13 +74,13 @@ SET(CMAKE_CREATE_CONSOLE_EXE "-tWC" ) SET (CMAKE_CXX_FLAGS_INIT "-w- -whid -waus -wpar -tWM") SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-Od -v") -SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O1") -SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2") +SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O1 -DNDEBUG") +SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-Od") SET (CMAKE_C_FLAGS_INIT "-w- -whid -waus -tWM") SET (CMAKE_C_FLAGS_DEBUG_INIT "-Od -v") -SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O1") -SET (CMAKE_C_FLAGS_RELEASE_INIT "-O2") +SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O1 -DNDEBUG") +SET (CMAKE_C_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-Od") SET (CMAKE_EXE_LINKER_FLAGS_INIT "-tWM -lS:10000000 -lSc:10000000 ") |