diff options
author | Bernd Wachter <bwachter-tmw@lart.info> | 2010-05-02 18:29:24 +0300 |
---|---|---|
committer | Bernd Wachter <bwachter-tmw@lart.info> | 2010-05-02 19:37:16 +0300 |
commit | 4f55e04014375922d41347e6d5816c91a0dfe349 (patch) | |
tree | 01f3947f1362bd4cafbacda2bb68197b3a4df3a1 /CMakeLists.txt | |
parent | bba1a7e5a92f0df2ae879f0ea0cd064a25c915ab (diff) | |
download | mana-4f55e04014375922d41347e6d5816c91a0dfe349.tar.gz mana-4f55e04014375922d41347e6d5816c91a0dfe349.tar.bz2 mana-4f55e04014375922d41347e6d5816c91a0dfe349.tar.xz mana-4f55e04014375922d41347e6d5816c91a0dfe349.zip |
Add some basic CPack stuff
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2836d1ef..15a55d91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,3 +54,20 @@ ENDIF() If(UNIX) INSTALL(FILES mana.desktop DESTINATION share/applications) ENDIF() + +SET(CPACK_PACKAGE_NAME "mana") +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mana") +SET(CPACK_PACKAGE_VENDOR "Mana Development Team") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") +SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Mana") +SET(CPACK_PACKAGE_VERSION_MAJOR ${VER_MAJOR}) +SET(CPACK_PACKAGE_VERSION_MINOR ${VER_MINOR}) +SET(CPACK_PACKAGE_VERSION_PATCH ${VER_RELEASE}) +IF(WIN32) + SET(CPACK_NSIS_DISPLAY_NAME "Mana") + SET(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/data/icons/mana.ico") + SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/packaging/windows/setup_welcome.bmp") + SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.manasource.org") +ENDIF() +INCLUDE(CPack)
\ No newline at end of file |