forked from zhaomengxiao/MITK_lancet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MITKCPackOptions.cmake.in
31 lines (22 loc) · 1.11 KB
/
MITKCPackOptions.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
if(CPACK_GENERATOR MATCHES "NSIS")
# set the package header icon for MUI
set(CPACK_PACKAGE_ICON "@MITK_SOURCE_DIR@\\mitk.bmp")
# set the install/unistall icon used for the installer itself
# There is a bug in NSIS that does not handle full unix paths properly.
set(CPACK_NSIS_MUI_ICON "@MITK_SOURCE_DIR@\\mitk.ico")
set(CPACK_NSIS_MUI_UNIICON "@MITK_SOURCE_DIR@\\mitk.ico")
set(CPACK_NSIS_DISPLAY_NAME "MITK - Medical Imaging and Interaction Toolkit")
# tell cpack to create links to the doc files
set(CPACK_NSIS_MENU_LINKS
"http://www.mitk.org" "MITK Web Site"
)
# tell cpack the executables you want in the start menu as links
set(CPACK_PACKAGE_EXECUTABLES "@MITK_CPACK_PACKAGE_EXECUTABLES@")
# tell cpack to create a desktop link to MainApp
set(CPACK_CREATE_DESKTOP_LINKS "@CPACK_CREATE_DESKTOP_LINKS@")
set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\mitk.ico")
set(CPACK_NSIS_HELP_LINK "http:\\\\www.mitk.org")
set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www.mitk.org")
set(CPACK_NSIS_CONTACT [email protected])
set(CPACK_NSIS_MODIFY_PATH ON)
endif(CPACK_GENERATOR MATCHES "NSIS")