Make the CXX FLAGS stricter like automake.
This commit is contained in:
parent
e73b1a556b
commit
0dc32aabc3
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
endif(NOT CONFIGURED)
|
||||
|
||||
#Add build-type: DEBUGSTRICT
|
||||
set(CMAKE_CXX_FLAGS_DEBUGSTRICT "-O0 -DDEBUG -ggdb3 -W -Wall -ansi -Werror -Wno-unused -Wno-sign-compare" CACHE STRING "Flags used by the compiler during strict debug builds.")
|
||||
set(CMAKE_CXX_FLAGS_DEBUGSTRICT "-O0 -DDEBUG -ggdb3 -W -Wall -ansi -Werror -Wno-unused-parameter" CACHE STRING "Flags used by the compiler during strict debug builds.")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_DEBUGSTRICT "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING "Flags used for linking binaries during strict debug builds.")
|
||||
mark_as_advanced(CMAKE_CXX_FLAGS_DEBUGSTRICT CMAKE_EXE_LINKER_FLAGS_DEBUGSTRICT)
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
|
Loading…
Add table
Reference in a new issue