# CPack-time project CPack configuration file.
# This file is included at cpack time, once per generator
# after CPack has set CPACK_GENERATOR to the actual generator being used.
# It allows per-generator setting of CPACK_* variables at cpack time.

if(CPACK_GENERATOR MATCHES "NSIS")
  set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_NAME}${SNAPSHOT_NAME_SUFFIX}")
  set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
  set(CPACK_NSIS_INSTALLED_ICON_NAME "openscad.exe")
  set(CPACK_NSIS_URL_INFO_ABOUT "https://openscad.org/")
  set(CPACK_NSIS_HELP_LINK "https://openscad.org/community.html")
  set(CPACK_INSTALL_CMAKE_PROJECTS "@CMAKE_BINARY_DIR@;@CMAKE_PROJECT_NAME@;@CMAKE_INSTALL_DEFAULT_COMPONENT_NAME@;/")
  set(CPACK_NSIS_COMPONENT_INSTALL 0)
  set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-Installer")
  set(CPACK_NSIS_COMPRESSOR "/SOLID lzma\n\
  SetCompressorDictSize 32")
elseif(CPACK_GENERATOR MATCHES "ARCHIVE")
  set(CPACK_INSTALL_CMAKE_PROJECTS "@CMAKE_BINARY_DIR@;@CMAKE_PROJECT_NAME@;ALL;/")
endif()
