diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 17:31:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 17:31:46 (GMT) |
commit | d1051bb575b2f1e568ac9fe4599a0bf0eea66392 (patch) | |
tree | 5c16ebb0dc8c21698c38333eca4f5058492953c0 /Modules/Platform/Windows-cl.cmake | |
parent | 5b9a880bfbf215159d6960f82f0e78c419c95f8e (diff) | |
download | CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.zip CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.gz CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.bz2 |
clean up flags with _init flags
Diffstat (limited to 'Modules/Platform/Windows-cl.cmake')
-rw-r--r-- | Modules/Platform/Windows-cl.cmake | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index c1f975b..466632e 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -42,16 +42,12 @@ SET (CMAKE_BUILD_TYPE Debug CACHE STRING SET(CMAKE_CREATE_WIN32_EXE /subsystem:windows) -IF(NOT CMAKE_CXX_FLAGS) - SET (CMAKE_CXX_FLAGS "/nologo /W3 /Zm1000 /GX /GR") - SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ") - SET (CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1") - SET (CMAKE_CXX_FLAGS_RELEASE "/MD /O2") - SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /Zi /O2") -ENDIF(NOT CMAKE_CXX_FLAGS) -IF(NOT CMAKE_C_FLAGS) - SET (CMAKE_C_FLAGS "/nologo /W3 /Zm1000") -ENDIF(NOT CMAKE_C_FLAGS) +SET (CMAKE_CXX_FLAGS_INIT "/nologo /W3 /Zm1000 /GX /GR") +SET (CMAKE_CXX_FLAGS_DEBUG_INIT "/MDd /Zi /Od /GZ") +SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "/MD /O1") +SET (CMAKE_CXX_FLAGS_RELEASE_INIT "/MD /O2") +SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2") +SET (CMAKE_C_FLAGS_INIT "/nologo /W3 /Zm1000") SET (CMAKE_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib" CACHE STRING |