diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-03 22:01:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-03 22:01:40 (GMT) |
commit | 2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225 (patch) | |
tree | 156d6cdcd46d3c027646ccb0618efa7178af5d5a /Templates | |
parent | b545988c0b33cefccbc78bdaa97fe268a5176754 (diff) | |
download | CMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.zip CMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.tar.gz CMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.tar.bz2 |
ENH: fix debugging with borland
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/CMakeBorlandWindowsSystemConfig.cmake | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Templates/CMakeBorlandWindowsSystemConfig.cmake b/Templates/CMakeBorlandWindowsSystemConfig.cmake index c83ce7f..609379a 100644 --- a/Templates/CMakeBorlandWindowsSystemConfig.cmake +++ b/Templates/CMakeBorlandWindowsSystemConfig.cmake @@ -36,9 +36,24 @@ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Od" CACHE STRING SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1" CACHE STRING "Flags used by the compiler during release minsize builds.") -SET (CMAKE_CXX_FLAGS_DEBUG "-Od" CACHE STRING +SET (CMAKE_CXX_FLAGS_DEBUG "-Od -v" CACHE STRING "Flags used by the compiler during debug builds.") +SET (CMAKE_LINKER_FLAGS "" CACHE STRING + "Flags used by the linker.") + +SET (CMAKE_LINKER_FLAGS_DEBUG "-v" CACHE STRING + "Flags used by the linker during debug builds.") + +SET (CMAKE_LINKER_FLAGS_MINSIZEREL "" CACHE STRING + "Flags used by the linker during release minsize builds.") + +SET (CMAKE_LINKER_FLAGS_RELEASE "" CACHE STRING + "Flags used by the linker during release builds.") + +SET (CMAKE_LINKER_FLAGS_RELWITHDEBINFO "-v" CACHE STRING + "Flags used by the linker during Release with Debug Info builds.") + SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar" CACHE STRING "Flags used by the compiler during all build types, /GX /GR are for exceptions and rtti in VC++, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib.") |