MapWizard: move most recently used URL on top of static server history (and make...
[marble:marble.git] / DistTarget.cmake
1 ################################################################
2 # dist target
3 # from cmake wiki, feel free to modify
4 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Marble")
5 SET(CPACK_PACKAGE_VENDOR "Torsten Rahn")
6 #SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
7 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
8 SET(CPACK_PACKAGE_VERSION_MAJOR "0")
9 SET(CPACK_PACKAGE_VERSION_MINOR "3")
10 SET(CPACK_PACKAGE_VERSION_PATCH "0")
11 #SET(CPACK_INSTALL_CMAKE_PROJECTS "marble")
12 SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Marble ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
13
14 IF(WIN32 AND NOT UNIX)
15   SET(CPACK_GENERATOR NSIS)     # can be NSIS, STGZ, TBZ2, TGZ, TZ and ZIP
16   SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
17   # There is a bug in NSI that does not handle full unix paths properly. Make
18   # sure there is at least one set of four (4) backslashes.
19   # SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/install_win32\\\\sim-window-small.bmp")
20   SET(CPACK_NSIS_INSTALLED_ICON_NAME "marble.exe")
21   SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
22   SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\kde-apps.org\\\\content\\\\show.php\\\\Marble+-+Desktop+Globe?content=55105")
23   SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\kde-apps.org\\\\content\\\\show.php\\\\Marble+-+Desktop+Globe?content=55105")
24   SET(CPACK_NSIS_CONTACT "http:\\\\\\\\kde-apps.org\\\\usermanager\\\\search.php?username=tackat")
25
26   SET(CPACK_SOURCE_GENERATOR "NSIS")
27 ELSE(WIN32 AND NOT UNIX)
28   SET(CPACK_GENERATOR TBZ2)     # can be STGZ, TBZ2, TGZ, TZ and ZIP
29
30   SET(CPACK_SOURCE_GENERATOR "TBZ2;TGZ")
31 ENDIF(WIN32 AND NOT UNIX)
32 SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.svn/")
33 SET(CPACK_PACKAGE_EXECUTABLES "marble" "Marble 0.3")
34
35 INCLUDE(CPack)
36 ################################################################