diff options
author | Brad King <brad.king@kitware.com> | 2002-12-18 15:52:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-18 15:52:38 (GMT) |
commit | f958a7dc85fb39e380f11a0a935862a363fc6204 (patch) | |
tree | 4520226dbf66ba1edc26274876ef40482027bdd2 /Modules | |
parent | ccb93dc2f4b57350916de40285278dec06715b26 (diff) | |
download | CMake-f958a7dc85fb39e380f11a0a935862a363fc6204.zip CMake-f958a7dc85fb39e380f11a0a935862a363fc6204.tar.gz CMake-f958a7dc85fb39e380f11a0a935862a363fc6204.tar.bz2 |
ENH: Adding build type flags for C.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/gcc.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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") |