summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-bcc32.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/Windows-bcc32.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/Windows-bcc32.cmake')
-rw-r--r--Modules/Platform/Windows-bcc32.cmake16
1 files changed, 6 insertions, 10 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake
index 4d1b19d..b00ac1c 100644
--- a/Modules/Platform/Windows-bcc32.cmake
+++ b/Modules/Platform/Windows-bcc32.cmake
@@ -49,16 +49,12 @@ SET(CMAKE_CREATE_WIN32_EXE -tW -tWM )
# extra flags for a console app
SET(CMAKE_CREATE_CONSOLE_EXE -tWC )
-IF(NOT CMAKE_CXX_FLAGS)
- SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar -tWM -P")
- SET (CMAKE_CXX_FLAGS_DEBUG "-Od -v")
- SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1")
- SET (CMAKE_CXX_FLAGS_RELEASE "-O2")
- SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Od")
-ENDIF(NOT CMAKE_CXX_FLAGS)
-IF(NOT CMAKE_C_FLAGS)
- SET (CMAKE_C_FLAGS "-w- -whid -waus -tWM")
-ENDIF(NOT CMAKE_C_FLAGS)
+SET (CMAKE_CXX_FLAGS_INIT "-w- -whid -waus -wpar -tWM -P")
+SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-Od -v")
+SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O1")
+SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2")
+SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-Od")
+SET (CMAKE_C_FLAGS_INIT "-w- -whid -waus -tWM")
SET (CMAKE_STANDARD_LIBRARIES "import32.lib" CACHE STRING