summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-26 23:28:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-26 23:28:27 (GMT)
commiteecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0 (patch)
treeb363ca85f505b2cd720700bcb71fa47f45459346 /Templates
parent3e24edcd04234c20a5c3045a7af9ff482fd61a45 (diff)
downloadCMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.zip
CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.gz
CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.bz2
ENH: add advanced variable types and command line wizard gui
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeSystemConfig.cmake.in39
-rw-r--r--Templates/CMakeWindowsSystemConfig.cmake14
2 files changed, 52 insertions, 1 deletions
diff --git a/Templates/CMakeSystemConfig.cmake.in b/Templates/CMakeSystemConfig.cmake.in
index f42ee0d..737374c 100644
--- a/Templates/CMakeSystemConfig.cmake.in
+++ b/Templates/CMakeSystemConfig.cmake.in
@@ -28,6 +28,7 @@ SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING
SET (CMAKE_C_COMPILER "@CC@" CACHE FILEPATH
"C compiler used.")
SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE STRING "C compiler flags")
+
SET (CMAKE_SHLIB_CFLAGS "@CMAKE_SHLIB_CFLAGS@" CACHE STRING
"Flag used for building shared library objects" )
SET (CMAKE_SHLIB_BUILD_FLAGS "@CMAKE_SHLIB_BUILD_FLAGS@" CACHE STRING
@@ -65,3 +66,41 @@ SET (CMAKE_ANSI_CXXFLAGS @CMAKE_ANSI_CXXFLAGS@ CACHE INTERNAL "What flags ar
SET (CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION @CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION@ CACHE INTERNAL "does the compiler not support explicit template instantiation.")
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
+# the following variables are advanced
+MARK_AS_ADVANCED(
+CMAKE_X_LIBS
+CMAKE_USE_WIN32_THREADS
+CMAKE_USE_SPROC
+CMAKE_USE_PTHREADS
+CMAKE_SHLIB_SUFFIX
+CMAKE_MODULE_SUFFIX
+CMAKE_INSTALL_PREFIX
+CMAKE_CXX_COMPILER
+CMAKE_C_COMPILER
+CMAKE_HP_PTHREADS
+CMAKE_WORDS_BIGENDIAN
+CMAKE_LIB_EXT
+CMAKE_RANLIB
+CMAKE_AR
+CMAKE_AR_ARGS
+CMAKE_TEMPLATE_FLAGS
+CMAKE_SHLIB_CFLAGS
+CMAKE_SHLIB_BUILD_FLAGS
+CMAKE_MODULE_BUILD_FLAGS
+CMAKE_THREAD_LIBS
+CMAKE_DL_LIBS
+CMAKE_SHLIB_LINK_FLAGS
+CMAKE_MODULE_LINK_FLAGS
+CMAKE_SHLIB_LD_LIBS
+CMAKE_SHLIB_RUNTIME_FLAG
+CMAKE_SHLIB_RUNTIME_SEP
+CMAKE_X_CFLAGS
+CMAKE_NO_ANSI_STREAM_HEADERS
+CMAKE_NO_ANSI_FOR_SCOPE
+CMAKE_NO_STD_NAMESPACE
+CMAKE_COMPILER_IS_GNUCXX
+CMAKE_ANSI_CFLAGS
+CMAKE_ANSI_CXXFLAGS
+CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION
+CMAKE_MAKE_PROGRAM
+)
diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake
index 2e59adf..3a57d04 100644
--- a/Templates/CMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeWindowsSystemConfig.cmake
@@ -15,4 +15,16 @@ SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ" CACHE STRING
SET (CMAKE_CXX_FLAGS "/W3 /Zm1000 /GX /GR" 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")
SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL "Use the win32 thread library")
-SET (CMAKE_MAKE_PROGRAM "msdev" CACHE STRING "Program used to build from dsp files.") \ No newline at end of file
+SET (CMAKE_MAKE_PROGRAM "msdev" CACHE STRING "Program used to build from dsp files.")
+MARK_AS_ADVANCED(
+WORDS_BIGENDIAN
+HAVE_UNISTD_H
+HAVE_LIMITS_H
+CMAKE_CXX_COMPILER
+CMAKE_CXX_FLAGS_RELEASE
+CMAKE_CXX_FLAGS_RELWITHDEBINFO
+CMAKE_CXX_FLAGS_MINSIZEREL
+CMAKE_CXX_FLAGS_DEBUG
+CMAKE_USE_WIN32_THREADS
+CMAKE_MAKE_PROGRAM
+) \ No newline at end of file