lemon-project-template-glpk

changeset 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
files CMakeLists.txt cmake/nsis/installer.bmp cmake/nsis/lemon-project.ico cmake/nsis/uninstall.ico
diffstat 4 files changed, 16 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/CMakeLists.txt	Tue Jun 16 18:47:21 2009 +0200
     1.2 +++ b/CMakeLists.txt	Wed Jun 24 11:22:23 2009 +0100
     1.3 @@ -98,11 +98,21 @@
     1.4  ##
     1.5  ## It is used to configure the .exe installer created by CPACK.
     1.6  ## Consider editing these values:
     1.7 +##
     1.8  ## - CPACK_PACKAGE_VENDOR
     1.9  ## - CPACK_PACKAGE_DESCRIPTION_SUMMARY
    1.10  ## - CPACK_NSIS_HELP_LINK
    1.11  ## - CPACK_NSIS_URL_INFO_ABOUT
    1.12  ## - CPACK_NSIS_CONTACT
    1.13 +##
    1.14 +## Additionally, you may want to change the icons/images used by the
    1.15 +## NSIS installer, i.e. these variables:
    1.16 +##
    1.17 +## - CPACK_NSIS_MUI_ICON
    1.18 +## - CPACK_PACKAGE_ICON
    1.19 +## - CPACK_NSIS_INSTALLED_ICON_NAME
    1.20 +##
    1.21 +## and/or the files they point to.
    1.22  #######################################################################
    1.23  
    1.24  IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
    1.25 @@ -132,6 +142,12 @@
    1.26        "Doxygen generated documentation")
    1.27  
    1.28    SET(CPACK_GENERATOR "NSIS")
    1.29 +
    1.30 +  SET(CPACK_NSIS_MUI_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis/lemon-project.ico")
    1.31 +  SET(CPACK_NSIS_MUI_UNIICON "${PROJECT_SOURCE_DIR}/cmake/nsis/uninstall.ico")
    1.32 +  SET(CPACK_PACKAGE_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis\\\\installer.bmp")
    1.33 +  SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\lemon-project.ico")
    1.34 +
    1.35    SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}")
    1.36    SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\lemon.cs.elte.hu")
    1.37    SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\lemon.cs.elte.hu")
     2.1 Binary file cmake/nsis/installer.bmp has changed
     3.1 Binary file cmake/nsis/lemon-project.ico has changed
     4.1 Binary file cmake/nsis/uninstall.ico has changed