diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-27 08:59:59 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-27 08:59:59 -0400 |
commit | d6a0c330bc2087eb5007d4b6b056e573220dc590 (patch) | |
tree | 1413695a25b3348b79d3541c22029fb7b80bc3a3 /CMakeCPack.cmake | |
parent | e2aeecc29440b906fad3d8964b169b62cdfef188 (diff) | |
download | cmake-d6a0c330bc2087eb5007d4b6b056e573220dc590.tar.gz |
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
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r-- | CMakeCPack.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index 23739a91af..f676349792 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -31,6 +31,7 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") 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@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 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") 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@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") |