summaryrefslogtreecommitdiffstats
path: root/CMakeSystemConfig.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-18 17:04:36 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-18 17:04:36 (GMT)
commitcb0af952cf1ebaa82eb09bb3b63be681e3d2d3ca (patch)
tree75e5212f28a89f8741d1981f16c5859e2cae2811 /CMakeSystemConfig.cmake.in
parent1e7d8f8148585109e77420ffd23954a33a378b00 (diff)
downloadCMake-cb0af952cf1ebaa82eb09bb3b63be681e3d2d3ca.zip
CMake-cb0af952cf1ebaa82eb09bb3b63be681e3d2d3ca.tar.gz
CMake-cb0af952cf1ebaa82eb09bb3b63be681e3d2d3ca.tar.bz2
ENH: allow cache to override config file
Diffstat (limited to 'CMakeSystemConfig.cmake.in')
-rw-r--r--CMakeSystemConfig.cmake.in38
1 files changed, 20 insertions, 18 deletions
diff --git a/CMakeSystemConfig.cmake.in b/CMakeSystemConfig.cmake.in
index 85c2cca..cb13f6e 100644
--- a/CMakeSystemConfig.cmake.in
+++ b/CMakeSystemConfig.cmake.in
@@ -3,21 +3,23 @@
# in, which need not be the source directory
#
SET (CMAKE_WORDS_BIGENDIAN @CMAKE_WORDS_BIGENDIAN@ )
-SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE BOOL)
-SET (CMAKE_USE_PTHREADS @CMAKE_USE_PTHREADS@ CACHE BOOL)
-SET (CMAKE_HP_PTHREADS @CMAKE_HP_PTHREADS@ CACHE BOOL)
-SET (CMAKE_LIB_EXT @CMAKE_LIB_EXT@ CACHE STRING)
-SET (CMAKE_RANLIB "@RANLIB@" CACHE STRING)
-SET (CMAKE_AR "@CMAKE_AR@" CACHE STRING)
-SET (CMAKE_CXX_COMPILER "@CXX@" CACHE FILEPATH)
-SET (CMAKE_CXX_FLAGS "@CXXFLAGS@" CACHE STRING)
-SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING)
-SET (CMAKE_C_COMPILER "@CC@" CACHE FILEPATH)
-SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE STRING)
-SET (CMAKE_SHLIB_CFLAGS "@CMAKE_SHLIB_CFLAGS@" CACHE STRING)
-SET (CMAKE_SHLIB_BUILD_FLAGS "@CMAKE_SHLIB_BUILD_FLAGS@" CACHE STRING)
-SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE STRING)
-SET (CMAKE_THREAD_LIBS "@CMAKE_THREAD_LIBS@" CACHE STRING)
-SET (CMAKE_DL_LIBS "@CMAKE_DL_LIBS@" CACHE STRING)
-SET (CMAKE_SHLIB_LINK_FLAGS "@CMAKE_SHLIB_LINK_FLAGS@" CACHE STRING)
-SET (CMAKE_SHLIB_LD_LIBS "@CMAKE_SHLIB_LD_LIBS@" CACHE STRING)
+SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE_NO_REPLACE BOOL)
+SET (CMAKE_USE_PTHREADS @CMAKE_USE_PTHREADS@ CACHE_NO_REPLACE BOOL)
+SET (CMAKE_HP_PTHREADS @CMAKE_HP_PTHREADS@ CACHE_NO_REPLACE BOOL)
+SET (CMAKE_LIB_EXT @CMAKE_LIB_EXT@ CACHE_NO_REPLACE STRING)
+SET (CMAKE_RANLIB "@RANLIB@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_AR "@CMAKE_AR@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_CXX_COMPILER "@CXX@" CACHE_NO_REPLACE FILEPATH)
+SET (CMAKE_CXX_FLAGS "@CXXFLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_C_COMPILER "@CC@" CACHE_NO_REPLACE FILEPATH)
+SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_CFLAGS "@CMAKE_SHLIB_CFLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_BUILD_FLAGS "@CMAKE_SHLIB_BUILD_FLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE_NO_REPLACE STRING)
+SET (CMAKE_THREAD_LIBS "@CMAKE_THREAD_LIBS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_DL_LIBS "@CMAKE_DL_LIBS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_LINK_FLAGS "@CMAKE_SHLIB_LINK_FLAGS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_LD_LIBS "@CMAKE_SHLIB_LD_LIBS@" CACHE_NO_REPLACE STRING)
+SET (CMAKE_SHLIB_LD_LIBS "@CMAKE_SHLIB_LD_LIBS@" CACHE_NO_REPLACE_NO_REPLACE STRING)
+