Changeset 1017:b4f4c08e1210 in lemon-main
- Timestamp:
- 02/24/13 19:44:14 (12 years ago)
- Branch:
- default
- Children:
- 1018:2e959a5a0c2d, 1062:caf16813b1e8
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r1000 r1017 92 92 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}") 93 93 94 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING 94 IF(MSVC) 95 SET( CMAKE_CXX_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING 95 96 "Flags used by the C++ compiler during maintainer builds." 96 FORCE)97 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING97 ) 98 SET( CMAKE_C_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING 98 99 "Flags used by the C compiler during maintainer builds." 99 FORCE ) 100 SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER 100 ) 101 SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER 102 "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING 103 "Flags used for linking binaries during maintainer builds." 104 ) 105 SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER 106 "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" CACHE STRING 107 "Flags used by the shared libraries linker during maintainer builds." 108 ) 109 ELSE() 110 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING 111 "Flags used by the C++ compiler during maintainer builds." 112 ) 113 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING 114 "Flags used by the C compiler during maintainer builds." 115 ) 116 SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER 101 117 "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING 102 118 "Flags used for linking binaries during maintainer builds." 103 FORCE)104 SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER119 ) 120 SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER 105 121 "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING 106 122 "Flags used by the shared libraries linker during maintainer builds." 107 FORCE ) 123 ) 124 ENDIF() 125 108 126 MARK_AS_ADVANCED( 109 127 CMAKE_CXX_FLAGS_MAINTAINER
Note: See TracChangeset
for help on using the changeset viewer.