summaryrefslogtreecommitdiffstats
path: root/Utilities/cmake_release_config_linux
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-08-07 22:12:36 (GMT)
committerBrad King <brad.king@kitware.com>2002-08-07 22:12:36 (GMT)
commit5c517539136aa6309f35fec66213d6b1fc36acce (patch)
tree5b6136e9764112e7ab4a8452a83271e4672e041b /Utilities/cmake_release_config_linux
parent86709a4ccf72e8519db2ad01917badad657562a8 (diff)
downloadCMake-5c517539136aa6309f35fec66213d6b1fc36acce.zip
CMake-5c517539136aa6309f35fec66213d6b1fc36acce.tar.gz
CMake-5c517539136aa6309f35fec66213d6b1fc36acce.tar.bz2
ENH: Split install script into two parts. Added basic support for adding more files to the distribution and creating packages.
Diffstat (limited to 'Utilities/cmake_release_config_linux')
-rw-r--r--Utilities/cmake_release_config_linux10
1 files changed, 7 insertions, 3 deletions
diff --git a/Utilities/cmake_release_config_linux b/Utilities/cmake_release_config_linux
index 4fca09d..7227936 100644
--- a/Utilities/cmake_release_config_linux
+++ b/Utilities/cmake_release_config_linux
@@ -5,11 +5,15 @@ CREATE_SOURCE_TARBALL="yes"
CURSES_LIBRARY="/usr/lib/libcurses.a"
FORM_LIBRARY="/usr/lib/libform.a"
-CMAKE_CACHE_ENTRIES="
+# Write entries into the cache file before building cmake.
+WriteCMakeCache()
+{
+${CAT} > CMakeCache.txt <<EOF
+BUILD_TESTING:BOOL=OFF
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-static
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
-"
-
+EOF
+}