diff options
Diffstat (limited to 'Modules/Platform/gcc.cmake')
-rw-r--r-- | Modules/Platform/gcc.cmake | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/Modules/Platform/gcc.cmake b/Modules/Platform/gcc.cmake index 55612bd..62b3c2e 100644 --- a/Modules/Platform/gcc.cmake +++ b/Modules/Platform/gcc.cmake @@ -1,18 +1,6 @@ -SET (CMAKE_CXX_FLAGS "" CACHE STRING - "Flags used by the compiler during all build types.") - -SET (CMAKE_CXX_FLAGS_DEBUG "-g" CACHE STRING - "Flags used by the compiler during debug builds.") - -SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O3" CACHE STRING - "Flags used by the compiler during release minsize builds.") - -SET (CMAKE_CXX_FLAGS_RELEASE "-O2" CACHE STRING - "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).") - -SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g" CACHE STRING - "Flags used by the compiler during Release with Debug Info builds.") - - -SET (CMAKE_C_FLAGS "" CACHE STRING - "Flags for C compiler.") +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") +SET (CMAKE_C_FLAGS "") |