From 0015ec950b7d37b8dad88930c7ec90eae84c281f Mon Sep 17 00:00:00 2001 From: srit Date: Wed, 19 May 2010 15:06:13 +0000 Subject: [PATCH] Modified CPack options --- vv/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) -- 2.47.1