CMakeLists.txt
changeset 1326 f05270f176d9
parent 1322 1552352f9798
child 1327 18c89646185e
equal deleted inserted replaced
73:355b4fef058e 74:4fc0287583fc
   166 SET(LEMON_CXX_WARNING_FLAGS ${CXX_WARNING} CACHE STRING "LEMON warning flags.")
   166 SET(LEMON_CXX_WARNING_FLAGS ${CXX_WARNING} CACHE STRING "LEMON warning flags.")
   167 
   167 
   168 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
   168 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
   169 
   169 
   170 IF(MSVC)
   170 IF(MSVC)
       
   171   SET(CMAKE_CXX_FLAGS "/bigobj ${CMAKE_CXX_FLAGS}")
   171   SET( CMAKE_CXX_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING
   172   SET( CMAKE_CXX_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING
   172     "Flags used by the C++ compiler during maintainer builds."
   173     "Flags used by the C++ compiler during maintainer builds."
   173     )
   174     )
   174   SET( CMAKE_C_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING
   175   SET( CMAKE_C_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING
   175     "Flags used by the C compiler during maintainer builds."
   176     "Flags used by the C compiler during maintainer builds."