[cmake-commits] alex committed CMakeCPack.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 27 09:00:00 EDT 2007


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv13797

Modified Files:
	CMakeCPack.cmake 
Log Message:

ENH: deb generator can now generate deb packages
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules

Alex


Index: CMakeCPack.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeCPack.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeCPack.cmake	10 May 2007 18:08:15 -0000	1.1
+++ CMakeCPack.cmake	27 Jul 2007 12:59:58 -0000	1.2
@@ -31,6 +31,7 @@
   IF(NOT DEFINED CPACK_PACKAGE_FILE_NAME)
     SET(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}-${CPACK_SYSTEM_NAME}")
   ENDIF(NOT DEFINED CPACK_PACKAGE_FILE_NAME)
+  SET(CPACK_PACKAGE_CONTACT "cmake at cmake.org")
   IF(WIN32 AND NOT UNIX)
     # There is a bug in NSI that does not handle full unix paths properly. Make
     # sure there is at least one set of four (4) backlasshes.
@@ -40,7 +41,7 @@
     SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} a cross-platform, open-source build system")
     SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.cmake.org")
     SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.kitware.com")
-    SET(CPACK_NSIS_CONTACT "cmake at cmake.org")
+    SET(CPACK_NSIS_CONTACT ${CPACK_PACKAGE_CONTACT})
     SET(CPACK_NSIS_MODIFY_PATH ON)
   ELSE(WIN32 AND NOT UNIX)
     SET(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest")



More information about the Cmake-commits mailing list