| 1 |
# This file is configured at cmake time, and loaded at cpack time. |
| 2 |
# To pass variables to cpack from cmake, they must be configured |
| 3 |
# in this file. |
| 4 |
|
| 5 |
SET(CPACK_PACKAGE_NAME "qutIM") |
| 6 |
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Free open-source crossplatform multiprotocol instant messenger") |
| 7 |
SET(CPACK_PACKAGE_VENDOR "qutIM Developer team") |
| 8 |
#SET(CPACK_PACKAGE_DESCRIPTION_FILE "") |
| 9 |
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/GPL") |
| 10 |
SET(CPACK_PACKAGE_VERSION_MAJOR "0") |
| 11 |
SET(CPACK_PACKAGE_VERSION_MINOR "2") |
| 12 |
SET(CPACK_PACKAGE_VERSION_PATCH "80") |
| 13 |
set(CPACK_PACKAGE_INSTALL_DIRECTORY "qutIM") |
| 14 |
set(CPACK_PACKAGE_EXECUTABLES "qutim;qutIM") |
| 15 |
|
| 16 |
if(CPACK_GENERATOR MATCHES "NSIS") |
| 17 |
# set the install/unistall icon used for the installer itself |
| 18 |
# There is a bug in NSI that does not handle full unix paths properly. |
| 19 |
SET(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/qutim.ico") |
| 20 |
SET(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}/qutim.ico") |
| 21 |
# set the package header icon for MUI |
| 22 |
#SET(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp") |
| 23 |
# tell cpack to create links to the doc files |
| 24 |
# Use the icond from qutIM for add-remove programs |
| 25 |
SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\qutim.exe") |
| 26 |
|
| 27 |
SET(CPACK_NSIS_DISPLAY_NAME "qutIM - Free open-source crossplatform multiprotocol instant messenger") |
| 28 |
SET(CPACK_NSIS_PACKAGE_NAME "qutIM") |
| 29 |
SET(CPACK_NSIS_HELP_LINK "http://www.wiki.qutim.org") |
| 30 |
SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.qutim.org") |
| 31 |
SET(CPACK_NSIS_CONTACT "sauron@citadelspb.com") |
| 32 |
SET(CPACK_NSIS_MODIFY_PATH ON) |
| 33 |
SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma") |
| 34 |
#SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "RequestExecutionLevel admin") |
| 35 |
endif(CPACK_GENERATOR MATCHES "NSIS") |