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