]> Creatis software - clitk.git/commitdiff
Modified CPack options
authorsrit <srit>
Wed, 19 May 2010 15:06:13 +0000 (15:06 +0000)
committersrit <srit>
Wed, 19 May 2010 15:06:13 +0000 (15:06 +0000)
vv/CMakeLists.txt

index c9fe3daab0a9cdb3ed12d896f6ddd37eaafae8ab..a9d5c59e7438caf1b4bc5d6464494db42873c89b 100644 (file)
@@ -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)