CMakeCPackOptions.cmake.in 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. if(CPACK_GENERATOR MATCHES "NSIS")
  2. # set the install/unistall icon used for the installer itself
  3. # There is a bug in NSI that does not handle full unix paths properly.
  4. SET(CPACK_NSIS_MUI_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
  5. SET(CPACK_NSIS_MUI_UNIICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
  6. # set the package header icon for MUI
  7. SET(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp")
  8. # tell cpack to create links to the doc files
  9. SET(CPACK_NSIS_MENU_LINKS
  10. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/CMakeSetup.html" "CMakeSetup Help"
  11. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
  12. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html"
  13. "CMake Properties and Variables Help"
  14. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help"
  15. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help"
  16. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help"
  17. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
  18. "http://www.cmake.org" "CMake Web Site"
  19. )
  20. # tell cpack the executables you want in the start menu as links
  21. SET(CPACK_PACKAGE_EXECUTABLES "CMakeSetup" "CMake" )
  22. # tell cpack to create a desktop link to CMakeSetup
  23. SET(CPACK_CREATE_DESKTOP_LINKS "CMakeSetup")
  24. SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\CMakeSetup.exe")
  25. SET(CPACK_NSIS_DISPLAY_NAME "@CPACK_PACKAGE_INSTALL_DIRECTORY@ a cross-platform, open-source build system")
  26. SET(CPACK_NSIS_HELP_LINK "http:\\\\www.cmake.org")
  27. SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www.kitware.com")
  28. SET(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@)
  29. SET(CPACK_NSIS_MODIFY_PATH ON)
  30. endif(CPACK_GENERATOR MATCHES "NSIS")
  31. if(CPACK_GENERATOR MATCHES "CygwinSource")
  32. # when packaging source make sure the .build directory is not included
  33. SET(CPACK_SOURCE_IGNORE_FILES
  34. "/CVS/" "/\\.build/" "/\\.svn/" "\\.swp$" "\\.#" "/#" "~$")
  35. endif(CPACK_GENERATOR MATCHES "CygwinSource")