cmake_modules/CPackConfig.cmake
changeset 8701 b99c49f78f56
parent 8700 7e84ea0d9cef
child 8723 b08cc68a26a3
equal deleted inserted replaced
8700:7e84ea0d9cef 8701:b99c49f78f56
    13 set(CPACK_SOURCE_PACKAGE_FILE_NAME "hedgewars-src-${full_suffix}")
    13 set(CPACK_SOURCE_PACKAGE_FILE_NAME "hedgewars-src-${full_suffix}")
    14 set(CPACK_SOURCE_GENERATOR "TBZ2")
    14 set(CPACK_SOURCE_GENERATOR "TBZ2")
    15 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "Hedgewars")
    15 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "Hedgewars")
    16 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
    16 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
    17 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${full_suffix}")
    17 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${full_suffix}")
       
    18 set(CPACK_STRIP_FILES true)
    18 
    19 
    19 if(WIN32 AND NOT UNIX)
    20 if(WIN32 AND NOT UNIX)
    20     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
    21     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
    21     set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
    22     set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
    22     set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
    23     set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
    23     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
    24     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
    24     set(CPACK_NSIS_MODIFY_PATH OFF)
    25     set(CPACK_NSIS_MODIFY_PATH OFF)
    25     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
    26     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
    26     set(CPACK_GENERATOR "ZIP;NSIS")
    27     set(CPACK_GENERATOR "ZIP;NSIS")
    27     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
    28     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
    28 else(WIN32 AND NOT UNIX)
       
    29     set(CPACK_STRIP_FILES "bin/hedgewars;bin/hwengine")
       
    30 endif(WIN32 AND NOT UNIX)
    29 endif(WIN32 AND NOT UNIX)
    31 
    30 
    32 set(CPACK_SOURCE_IGNORE_FILES
    31 set(CPACK_SOURCE_IGNORE_FILES
    33     #temporary files
    32     #temporary files
    34     "~"
    33     "~"