From f958a7dc85fb39e380f11a0a935862a363fc6204 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Dec 2002 10:52:38 -0500 Subject: ENH: Adding build type flags for C. --- Modules/Platform/gcc.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Platform/gcc.cmake b/Modules/Platform/gcc.cmake index 0029d2e..2db99bb 100644 --- a/Modules/Platform/gcc.cmake +++ b/Modules/Platform/gcc.cmake @@ -4,3 +4,7 @@ SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3") SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2") SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") SET (CMAKE_C_FLAGS_INIT "") +SET (CMAKE_C_FLAGS_DEBUG_INIT "-g") +SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O3") +SET (CMAKE_C_FLAGS_RELEASE_INIT "-O2") +SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") -- cgit v0.12