cmake_modules/CPackConfig.cmake
branch0.9.19
changeset 8791 6e3308fc2a1d
parent 8723 b08cc68a26a3
equal deleted inserted replaced
8788:b6badc953945 8791:6e3308fc2a1d
    21     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
    21     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
    22     set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
    22     set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
    23     set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
    23     set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
    24     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
    24     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
    25     set(CPACK_NSIS_MODIFY_PATH OFF)
    25     set(CPACK_NSIS_MODIFY_PATH OFF)
    26     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
    26     set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
    27     set(CPACK_NSIS_MUI_FINISHPAGE_RUN "hedgewars${CMAKE_EXECUTABLE_SUFFIX}")
    27     set(CPACK_NSIS_MUI_FINISHPAGE_RUN "hedgewars${CMAKE_EXECUTABLE_SUFFIX}")
    28     set(CPACK_GENERATOR "ZIP;NSIS")
    28     set(CPACK_NSIS_CREATE_ICONS "CreateShortCut '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Hedgewars.lnk' '$INSTDIR\\\\hedgewars.exe'")
    29     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
    29     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
    30 endif(WIN32 AND NOT UNIX)
    30 endif(WIN32 AND NOT UNIX)
    31 
    31 
    32 set(CPACK_SOURCE_IGNORE_FILES
    32 set(CPACK_SOURCE_IGNORE_FILES
    33     #temporary files
    33     #temporary files
    94     "^${CMAKE_CURRENT_SOURCE_DIR}/CMakeCache.txt"
    94     "^${CMAKE_CURRENT_SOURCE_DIR}/CMakeCache.txt"
    95     "^${CMAKE_CURRENT_SOURCE_DIR}/hedgewars\\\\."
    95     "^${CMAKE_CURRENT_SOURCE_DIR}/hedgewars\\\\."
    96 )
    96 )
    97 
    97 
    98 include(CPack)
    98 include(CPack)
    99