summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/IRIX.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-11 17:31:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-11 17:31:46 (GMT)
commitd1051bb575b2f1e568ac9fe4599a0bf0eea66392 (patch)
tree5c16ebb0dc8c21698c38333eca4f5058492953c0 /Modules/Platform/IRIX.cmake
parent5b9a880bfbf215159d6960f82f0e78c419c95f8e (diff)
downloadCMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.zip
CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.gz
CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.bz2
clean up flags with _init flags
Diffstat (limited to 'Modules/Platform/IRIX.cmake')
-rw-r--r--Modules/Platform/IRIX.cmake16
1 files changed, 6 insertions, 10 deletions
diff --git a/Modules/Platform/IRIX.cmake b/Modules/Platform/IRIX.cmake
index 2df5dad..8f78f02 100644
--- a/Modules/Platform/IRIX.cmake
+++ b/Modules/Platform/IRIX.cmake
@@ -6,16 +6,12 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP "") # : or empty
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
"<CMAKE_CXX_COMPILER> -ar -o <TARGET> <OBJECTS>")
- 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")
- ENDIF(NOT CMAKE_CXX_FLAGS)
- IF(NOT CMAKE_C_FLAGS)
- SET (CMAKE_C_FLAGS "")
- ENDIF(NOT CMAKE_C_FLAGS)
+ SET (CMAKE_CXX_FLAGS_INIT "")
+ SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
+ SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3")
+ SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2")
+ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2")
+ SET (CMAKE_C_FLAGS_INIT "")
ELSE(NOT CMAKE_COMPILER_IS_GNUCXX)
INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)