Geant4 Cross Reference |
1 # This file is configured at cmake time, and l 1 # This file is configured at cmake time, and loaded at cpack time. 2 # To pass variables to cpack from cmake, they 2 # To pass variables to cpack from cmake, they must be configured 3 # in this file. 3 # in this file. 4 4 5 # - NSIS Specifics 5 # - NSIS Specifics 6 if(CPACK_GENERATOR STREQUAL "NSIS") 6 if(CPACK_GENERATOR STREQUAL "NSIS") 7 # There is a bug in NSI that does not handle 7 # There is a bug in NSI that does not handle full unix paths properly. 8 # Make sure there is at least one set of two 8 # Make sure there is at least one set of two (2) backlasshes. 9 set(CPACK_PACKAGE_ICON "@PROJECT_SOURCE_DIR@ 9 set(CPACK_PACKAGE_ICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\g4_small.bmp") 10 set(CPACK_NSIS_MUI_ICON "@PROJECT_SOURCE_DIR 10 set(CPACK_NSIS_MUI_ICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\G4.ico") 11 set(CPACK_NSIS_MUI_UNIICON "@PROJECT_SOURCE_ 11 set(CPACK_NSIS_MUI_UNIICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\G4.ico") 12 set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE 12 set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") 13 set(CPACK_NSIS_HELP_LINK "http:\\\\www.geant 13 set(CPACK_NSIS_HELP_LINK "http:\\\\www.geant4.org") 14 set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www. 14 set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www.geant4.org") 15 set(CPACK_NSIS_CONTACT "gabriele.cosmo@cern. 15 set(CPACK_NSIS_CONTACT "gabriele.cosmo@cern.ch") 16 set(CPACK_NSIS_MODIFY_PATH ON) 16 set(CPACK_NSIS_MODIFY_PATH ON) 17 endif() 17 endif() 18 18 19 # - productbuild Specifics 19 # - productbuild Specifics 20 if(CPACK_GENERATOR STREQUAL "productbuild") 20 if(CPACK_GENERATOR STREQUAL "productbuild") 21 set(CPACK_PACKAGING_INSTALL_PREFIX "/Library 21 set(CPACK_PACKAGING_INSTALL_PREFIX "/Library/${CPACK_PACKAGE_INSTALL_DIRECTORY}") 22 endif() 22 endif()