ENH: typo
[cmake.git] / CMakeCPackOptions.cmake.in
blob2a83e304b2dd20cce405397be7ae1fa5a4823aa5
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 "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR} 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")
32 if(CPACK_GENERATOR MATCHES "CygwinSource")
33   # when packaging source make sure the .build directory is not included
34     SET(CPACK_SOURCE_IGNORE_FILES
35       "/CVS/" "/\\.build/" "/\\.svn/" "\\.swp$" "\\.#" "/#" "~$")
36 endif(CPACK_GENERATOR MATCHES "CygwinSource")
38 if("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
39   SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
40 endif("${CPACK_GENERATOR}" STREQUAL "PackageMaker")