diff options
author | Brad King <brad.king@kitware.com> | 2002-11-08 23:06:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-11-08 23:06:53 (GMT) |
commit | 3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b (patch) | |
tree | 88bd3a8bd7c60b350b8f706f46a6d6f82b5e2088 /Modules/Platform/Windows-bcc32.cmake | |
parent | c74ce9b21852bfd93d7d13ba70e11967b94a8300 (diff) | |
download | CMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.zip CMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.tar.gz CMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.tar.bz2 |
ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end.
Diffstat (limited to 'Modules/Platform/Windows-bcc32.cmake')
-rw-r--r-- | Modules/Platform/Windows-bcc32.cmake | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 744e44c..4b2028f 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -49,24 +49,12 @@ SET(CMAKE_CREATE_WIN32_EXE -tW -tWM ) # extra flags for a console app SET(CMAKE_CREATE_CONSOLE_EXE -tWC ) -SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar -tWM -P" CACHE STRING - "Flags used to compile c++ files.") - -SET (CMAKE_CXX_FLAGS_DEBUG "-Od -v" CACHE STRING - "Flags used by the compiler during debug builds.") - -SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1" CACHE STRING - "Flags used by the compiler during release minsize builds.") - -SET (CMAKE_CXX_FLAGS_RELEASE "-O2" CACHE STRING - "Release flags.") - -SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Od" CACHE STRING - "Flags used by the compiler during Release with Debug Info builds.") - - -SET (CMAKE_C_FLAGS "-w- -whid -waus -tWM" CACHE STRING - "Flags for C compiler.") +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") +SET (CMAKE_C_FLAGS "-w- -whid -waus -tWM") SET (CMAKE_STANDARD_LIBRARIES "import32.lib" CACHE STRING "Libraries linked by defalut with all applications.") |