CMakeCPackOptions.cmake.in 1.1 KB

1234567891011121314151617181920212223242526
  1. # This file is configured at cmake time, and loaded at cpack time.
  2. # To pass variables to cpack from cmake, they must be configured
  3. # in this file.
  4. if(CPACK_GENERATOR MATCHES "NSIS")
  5. set(CPACK_NSIS_INSTALL_ROOT "@CPACK_NSIS_INSTALL_ROOT@")
  6. # set the install/unistall icon used for the installer itself
  7. # There is a bug in NSI that does not handle full unix paths properly.
  8. set(CPACK_NSIS_MUI_ICON "@CMAKE_SOURCE_DIR@/client\\vcmi.ico")
  9. set(CPACK_NSIS_MUI_UNIICON "@CMAKE_SOURCE_DIR@/client\\vcmi.ico")
  10. # set the package header icon for MUI
  11. set(CPACK_PACKAGE_ICON "@CMAKE_SOURCE_DIR@/client\\vcmi.ico")
  12. set(CPACK_NSIS_MENU_LINKS
  13. "http://vcmi.eu/" "VCMI Web Site")
  14. set(CPACK_NSIS_INSTALLED_ICON_NAME "VCMI_client.exe")
  15. set(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
  16. set(CPACK_NSIS_PACKAGE_NAME "@CPACK_NSIS_PACKAGE_NAME@")
  17. set(CPACK_NSIS_DISPLAY_NAME "@CPACK_NSIS_PACKAGE_NAME@, open-source engine for Heroes of Might and Magic III ")
  18. set(CPACK_NSIS_HELP_LINK "http://vcmi.eu/")
  19. set(CPACK_NSIS_URL_INFO_ABOUT "http://vcmi.eu/")
  20. set(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@)
  21. set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
  22. endif()