Warning, /education/marble/DistTarget.cmake is written in an unsupported language. File is not indexed.

0001 ################################################################
0002 # dist target
0003 # from cmake wiki, feel free to modify
0004 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Marble")
0005 SET(CPACK_PACKAGE_VENDOR "Torsten Rahn")
0006 #SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
0007 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
0008 SET(CPACK_PACKAGE_VERSION_MAJOR "0")
0009 SET(CPACK_PACKAGE_VERSION_MINOR "3")
0010 SET(CPACK_PACKAGE_VERSION_PATCH "0")
0011 #SET(CPACK_INSTALL_CMAKE_PROJECTS "marble")
0012 SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Marble ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
0013 
0014 IF(WIN32 AND NOT UNIX)
0015   SET(CPACK_GENERATOR NSIS)     # can be NSIS, STGZ, TBZ2, TGZ, TZ and ZIP
0016   SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
0017   # There is a bug in NSI that does not handle full unix paths properly. Make
0018   # sure there is at least one set of four (4) backslashes.
0019   # SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/install_win32\\\\sim-window-small.bmp")
0020   SET(CPACK_NSIS_INSTALLED_ICON_NAME "marble.exe")
0021   SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
0022   SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\kde-apps.org\\\\content\\\\show.php\\\\Marble+-+Desktop+Globe?content=55105")
0023   SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\kde-apps.org\\\\content\\\\show.php\\\\Marble+-+Desktop+Globe?content=55105")
0024   SET(CPACK_NSIS_CONTACT "http:\\\\\\\\kde-apps.org\\\\usermanager\\\\search.php?username=tackat")
0025 
0026   SET(CPACK_SOURCE_GENERATOR "NSIS")
0027 ELSE(WIN32 AND NOT UNIX)
0028   SET(CPACK_GENERATOR TBZ2)     # can be STGZ, TBZ2, TGZ, TZ and ZIP
0029 
0030   SET(CPACK_SOURCE_GENERATOR "TBZ2;TGZ")
0031 ENDIF(WIN32 AND NOT UNIX)
0032 SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.svn/")
0033 SET(CPACK_PACKAGE_EXECUTABLES "marble" "Marble 0.3")
0034 
0035 INCLUDE(CPack)
0036 ################################################################