lemon-project-template-glpk
comparison CMakeLists.txt @ 4:6de89926e594
Add images to NSIS installer generator
author | Peter Kovacs <kpeter@inf.elte.hu> |
---|---|
date | Wed, 24 Jun 2009 11:22:23 +0100 |
parents | efa883909c06 |
children | 723af8fef529 |
comparison
equal
deleted
inserted
replaced
3:8ff636550e90 | 4:2399dcaf95a9 |
---|---|
96 ####################################################################### | 96 ####################################################################### |
97 ## CPACK configuration | 97 ## CPACK configuration |
98 ## | 98 ## |
99 ## It is used to configure the .exe installer created by CPACK. | 99 ## It is used to configure the .exe installer created by CPACK. |
100 ## Consider editing these values: | 100 ## Consider editing these values: |
101 ## | |
101 ## - CPACK_PACKAGE_VENDOR | 102 ## - CPACK_PACKAGE_VENDOR |
102 ## - CPACK_PACKAGE_DESCRIPTION_SUMMARY | 103 ## - CPACK_PACKAGE_DESCRIPTION_SUMMARY |
103 ## - CPACK_NSIS_HELP_LINK | 104 ## - CPACK_NSIS_HELP_LINK |
104 ## - CPACK_NSIS_URL_INFO_ABOUT | 105 ## - CPACK_NSIS_URL_INFO_ABOUT |
105 ## - CPACK_NSIS_CONTACT | 106 ## - CPACK_NSIS_CONTACT |
107 ## | |
108 ## Additionally, you may want to change the icons/images used by the | |
109 ## NSIS installer, i.e. these variables: | |
110 ## | |
111 ## - CPACK_NSIS_MUI_ICON | |
112 ## - CPACK_PACKAGE_ICON | |
113 ## - CPACK_NSIS_INSTALLED_ICON_NAME | |
114 ## | |
115 ## and/or the files they point to. | |
106 ####################################################################### | 116 ####################################################################### |
107 | 117 |
108 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) | 118 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
109 SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) | 119 SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) |
110 SET(CPACK_PACKAGE_VENDOR "EGRES") | 120 SET(CPACK_PACKAGE_VENDOR "EGRES") |
130 "Command line utilities") | 140 "Command line utilities") |
131 SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION | 141 SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION |
132 "Doxygen generated documentation") | 142 "Doxygen generated documentation") |
133 | 143 |
134 SET(CPACK_GENERATOR "NSIS") | 144 SET(CPACK_GENERATOR "NSIS") |
145 | |
146 SET(CPACK_NSIS_MUI_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis/lemon-project.ico") | |
147 SET(CPACK_NSIS_MUI_UNIICON "${PROJECT_SOURCE_DIR}/cmake/nsis/uninstall.ico") | |
148 SET(CPACK_PACKAGE_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis\\\\installer.bmp") | |
149 SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\lemon-project.ico") | |
150 | |
135 SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}") | 151 SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}") |
136 SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\lemon.cs.elte.hu") | 152 SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\lemon.cs.elte.hu") |
137 SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\lemon.cs.elte.hu") | 153 SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\lemon.cs.elte.hu") |
138 SET(CPACK_NSIS_CONTACT "lemon-user@lemon.cs.elte.hu") | 154 SET(CPACK_NSIS_CONTACT "lemon-user@lemon.cs.elte.hu") |
139 SET(CPACK_NSIS_CREATE_ICONS_EXTRA " | 155 SET(CPACK_NSIS_CREATE_ICONS_EXTRA " |