1.1 --- a/CMakeLists.txt Wed Jan 11 13:58:30 2012 +0100
1.2 +++ b/CMakeLists.txt Fri Jan 20 19:16:43 2012 +0100
1.3 @@ -66,17 +66,17 @@
1.4 # (performance warning)
1.5 # C4996: 'function': was declared deprecated
1.6 ELSE()
1.7 - SET(CXX_WARNING "-Wall -W")
1.8 + SET(CXX_WARNING "-Wall")
1.9 ENDIF()
1.10 ENDIF()
1.11 SET(LEMON_CXX_WARNING_FLAGS ${CXX_WARNING} CACHE STRING "LEMON warning flags.")
1.12
1.13 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
1.14
1.15 -SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING
1.16 +SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING
1.17 "Flags used by the C++ compiler during maintainer builds."
1.18 FORCE )
1.19 -SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING
1.20 +SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING
1.21 "Flags used by the C compiler during maintainer builds."
1.22 FORCE )
1.23 SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER