2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_VERBOSE_FLAG "-v")
|
2009-08-21 17:54:42 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_FLAGS_INIT "")
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
|
|
|
|
set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
|
|
set(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
2012-08-16 06:00:45 +04:00
|
|
|
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
|
2009-08-21 17:54:42 +04:00
|
|
|
|
2013-05-18 14:12:18 +04:00
|
|
|
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)
|
|
|
|
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
|
|
|
|
endif()
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
|
|
|
set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|