diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-27 23:11:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-27 23:11:12 (GMT) |
commit | 6c1e38abb4d36cebaff76807bd0e5979b520b6f9 (patch) | |
tree | 2523cbbb76e80188daedb819edb2530f889941e4 /Templates | |
parent | 0b6f8be725a48e929bcf7c2e8003ef2f03494b06 (diff) | |
download | CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.zip CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.tar.gz CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.tar.bz2 |
clean up in dot net
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/CMakeDotNetSystemConfig.cmake | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Templates/CMakeDotNetSystemConfig.cmake b/Templates/CMakeDotNetSystemConfig.cmake index 2395dae..1e71371 100644 --- a/Templates/CMakeDotNetSystemConfig.cmake +++ b/Templates/CMakeDotNetSystemConfig.cmake @@ -3,11 +3,17 @@ SET (CMAKE_CXX_COMPILER cl CACHE STRING "Name of C++ compiler used.") -SET (CMAKE_CXX_FLAGS "/W3 /Zm1000 " CACHE STRING - "Flags used by the compiler during all build types, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib") +SET (CMAKE_CXX_FLAGS "/Zm1000 " CACHE STRING + "Flags used by the compiler during all build types, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib, /W3 sets the warning level to 3") -SET (CMAKE_EXTRA_LINK_FLAGS "/STACK:10000000" CACHE STRING - "Extra flags added to the link line for creation of exe and dlls.") +SET (CMAKE_CXX_STACK_SIZE "10000000" CACHE STRING + "Size of stack for programs.") + +SET (CMAKE_CXX_WARNING_LEVEL "3" CACHE STRING + "Size of stack for programs.") + +SET (CMAKE_CXX_USE_RTTI 1 CACHE BOOL + "Compile CXX code with run time type information.") SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL "Use the win32 thread library") @@ -15,6 +21,9 @@ SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL SET (CMAKE_MAKE_PROGRAM "devenv" CACHE STRING "Program used to build from dsp files.") +SET (CMAKE_CONFIGURATION_TYPES "Debug Release MinSizeRel RelWithDebInfo" CACHE STRING + "Space separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.") + # We will hardcode them for now. Make sure to fix that in the future SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type") SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type") @@ -27,7 +36,10 @@ SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") # The following variables are advanced MARK_AS_ADVANCED( +CMAKE_CXX_USE_RTTI CMAKE_CXX_COMPILER +CMAKE_CXX_STACK_SIZE +CMAKE_CXX_WARNING_LEVEL CMAKE_USE_WIN32_THREADS CMAKE_MAKE_PROGRAM CMAKE_EXTRA_LINK_FLAGS |