Warning, /geant4/cmake/Templates/CMakeCPackOptions.cmake.in is written in an unsupported language. File is not indexed.
0001 # This file is configured at cmake time, and loaded at cpack time.
0002 # To pass variables to cpack from cmake, they must be configured
0003 # in this file.
0004
0005 # - NSIS Specifics
0006 if(CPACK_GENERATOR STREQUAL "NSIS")
0007 # There is a bug in NSI that does not handle full unix paths properly.
0008 # Make sure there is at least one set of two (2) backlasshes.
0009 set(CPACK_PACKAGE_ICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\g4_small.bmp")
0010 set(CPACK_NSIS_MUI_ICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\G4.ico")
0011 set(CPACK_NSIS_MUI_UNIICON "@PROJECT_SOURCE_DIR@\\cmake\\Templates\\G4.ico")
0012 set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
0013 set(CPACK_NSIS_HELP_LINK "http:\\\\www.geant4.org")
0014 set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www.geant4.org")
0015 set(CPACK_NSIS_CONTACT "gabriele.cosmo@cern.ch")
0016 set(CPACK_NSIS_MODIFY_PATH ON)
0017 endif()
0018
0019 # - productbuild Specifics
0020 if(CPACK_GENERATOR STREQUAL "productbuild")
0021 set(CPACK_PACKAGING_INSTALL_PREFIX "/Library/${CPACK_PACKAGE_INSTALL_DIRECTORY}")
0022 endif()