diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-23 21:19:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-23 21:19:38 (GMT) |
commit | bc9531c0d19a57a80b2ac20bafcbe41550f892e4 (patch) | |
tree | 5d73830cbf08d7a9fe28f685c307309c34e2e6d0 /Templates/CMakeWindowsSystemConfig.cmake | |
parent | 39066269d19eb0ff9b5db4b4a1b24622c4ca925b (diff) | |
download | CMake-bc9531c0d19a57a80b2ac20bafcbe41550f892e4.zip CMake-bc9531c0d19a57a80b2ac20bafcbe41550f892e4.tar.gz CMake-bc9531c0d19a57a80b2ac20bafcbe41550f892e4.tar.bz2 |
ENH: create CMAKE_CXX_FLAGS_[Buildtype] flags
Diffstat (limited to 'Templates/CMakeWindowsSystemConfig.cmake')
-rw-r--r-- | Templates/CMakeWindowsSystemConfig.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake index a1ca685..c30d75f 100644 --- a/Templates/CMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeWindowsSystemConfig.cmake @@ -6,4 +6,7 @@ SET (WORDS_BIGENDIAN ) SET (HAVE_LIMITS_H 1) SET (HAVE_UNISTD_H 1) SET (CXX VC++60) - +SET (CMAKE_CXX_FLAGS_RELEASE "/MD /O2" CACHE_NO_REPLACE) +SET (CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1" CACHE_NO_REPLACE) +SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /Gz /O2" CACHE_NO_REPLACE) +SET (CMAKE_CXX_FLAGS "/W3 /Zm1000 /GX /GR" CACHE_NO_REPLACE) |