CMake/Modules/Platform/gcc.cmake

12 lines
313 B
CMake
Raw Normal View History

2002-11-09 21:43:16 +03:00
IF(NOT CMAKE_CXX_FLAGS)
SET (CMAKE_CXX_FLAGS "")
SET (CMAKE_CXX_FLAGS_DEBUG "-g")
SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O3")
SET (CMAKE_CXX_FLAGS_RELEASE "-O2")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
ENDIF(NOT CMAKE_CXX_FLAGS)
2002-11-10 18:02:52 +03:00
IF(NOT CMAKE_C_FLAGS)
SET (CMAKE_C_FLAGS "")
ENDIF(NOT CMAKE_C_FLAGS)