From: srit Date: Wed, 19 May 2010 15:06:13 +0000 (+0000) Subject: Modified CPack options X-Git-Tag: v1.2.0~641 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0015ec950b7d37b8dad88930c7ec90eae84c281f;p=clitk.git Modified CPack options --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index c9fe3da..a9d5c59 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -209,15 +209,16 @@ ENDIF(WIN32) #========================================================= # CPack options -SET(CPACK_PACKAGE_NAME vv) +ET(CPACK_PACKAGE_NAME "vv") +SET(CPACK_SOURCE_PACKAGE_FILE_NAME "vv-src") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "vv, the 4D slicer : let's jump into a new dimension !") SET(CPACK_PACKAGE_VENDOR "Creatis-CLB") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/ReadMe.txt") SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/License.txt") SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MINOR "1") -SET(CPACK_PACKAGE_VERSION_PATCH "0") SET(CPACK_PACKAGE_INSTALL_DIRECTORY "vv") + IF(WIN32) SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/ducky.png") SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin/${CMAKE_BUILD_TYPE}/vv.exe") @@ -227,7 +228,8 @@ IF(WIN32) SET(CPACK_NSIS_MODIFY_PATH ON) ELSE(WIN32) SET(CPACK_STRIP_FILES "bin/vv") - SET(CPACK_SOURCE_STRIP_FILES "") + SET(CPACK_GENERATOR "STGZ") + SET(CPACK_SOURCE_GENERATOR "TGZ") ENDIF(WIN32) SET(CPACK_PACKAGE_EXECUTABLES "vv" "vv") INCLUDE(CPack)