cmake_modules/CPackConfig.cmake
changeset 8700 7e84ea0d9cef
parent 8699 89c339dcc2a4
child 8701 b99c49f78f56
equal deleted inserted replaced
8699:89c339dcc2a4 8700:7e84ea0d9cef
     5 else()
     5 else()
     6     set(full_suffix "${HEDGEWARS_VERSION}")
     6     set(full_suffix "${HEDGEWARS_VERSION}")
     7 endif()
     7 endif()
     8 
     8 
     9 # CPack variables
     9 # CPack variables
    10 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a free turn-based strategy")
    10 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a free turn-based strategy game")
    11 set(CPACK_PACKAGE_VENDOR "Hedgewars Project")
    11 set(CPACK_PACKAGE_VENDOR "Hedgewars Project")
    12 set(CPACK_PACKAGE_FILE_NAME "hedgewars-${full_suffix}")
    12 set(CPACK_PACKAGE_FILE_NAME "Hedgewars-${full_suffix}")
    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 
    18 
    19 if(WIN32 AND NOT UNIX)
    19 if(WIN32 AND NOT UNIX)
    20     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
    20     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")