[cmake-commits] andy committed CMakeLists.txt 1.70 1.71
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 12 13:05:53 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/SimpleInstall
In directory public:/mounts/ram/cvs-serv6061/Tests/SimpleInstall
Modified Files:
CMakeLists.txt
Log Message:
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/SimpleInstall/CMakeLists.txt,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- CMakeLists.txt 11 Oct 2006 16:41:20 -0000 1.70
+++ CMakeLists.txt 12 Oct 2006 17:05:50 -0000 1.71
@@ -218,6 +218,7 @@
# Dummy test of CPack
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Test of packaging with cpack")
SET(CPACK_PACKAGE_VENDOR "Kitware")
+SET(CPACK_INSTALL_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/PackageScript.cmake")
IF(WIN32 AND NOT UNIX)
FIND_PROGRAM(NSIS_MAKENSIS NAMES makensis
@@ -229,7 +230,7 @@
ENDIF(NOT NSIS_MAKENSIS)
ENDIF(WIN32 AND NOT UNIX)
IF(UNIX AND NOT APPLE)
- # SET(CPACK_GENERATOR "TGZ;STGZ")
+ SET(CPACK_GENERATOR "TGZ;STGZ;TZ")
# FIND_PROGRAM(found_compress
# NAMES compress)
# IF(found_compress)
More information about the Cmake-commits
mailing list