# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #.rst: # CPackIFW # -------- # # .. _QtIFW: http://doc.qt.io/qtinstallerframework/index.html # # This module looks for the location of the command line utilities supplied # with the Qt Installer Framework (QtIFW_). # # The module also defines several commands to control the behavior of the # CPack ``IFW`` generator. # # # Overview # ^^^^^^^^ # # CPack ``IFW`` generator helps you to create online and offline # binary cross-platform installers with a graphical user interface. # # CPack IFW generator prepares project installation and generates configuration # and meta information for QtIFW_ tools. # # The QtIFW_ provides a set of tools and utilities to create # installers for the supported desktop Qt platforms: Linux, Microsoft Windows, # and Mac OS X. # # You should also install QtIFW_ to use CPack ``IFW`` generator. # If you don't use a default path for the installation, please set # the used path in the variable ``QTIFWDIR``. # # Variables # ^^^^^^^^^ # # You can use the following variables to change behavior of CPack ``IFW`` # generator. # # Debug # """""" # # .. variable:: CPACK_IFW_VERBOSE # # Set to ``ON`` to enable addition debug output. # By default is ``OFF``. # # Package # """"""" # # .. variable:: CPACK_IFW_PACKAGE_TITLE # # Name of the installer as displayed on the title bar. # By default used :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY`. # # .. variable:: CPACK_IFW_PACKAGE_PUBLISHER # # Publisher of the software (as shown in the Windows Control Panel). # By default used :variable:`CPACK_PACKAGE_VENDOR`. # # .. variable:: CPACK_IFW_PRODUCT_URL # # URL to a page that contains product information on your web site. # # .. variable:: CPACK_IFW_PACKAGE_ICON # # Filename for a custom installer icon. The actual file is '.icns' (Mac OS X), # '.ico' (Windows). No functionality on Unix. # # .. variable:: CPACK_IFW_PACKAGE_WINDOW_ICON # # Filename for a custom window icon in PNG format for the Installer # application. # # .. variable:: CPACK_IFW_PACKAGE_LOGO # # Filename for a logo is used as QWizard::LogoPixmap. # # .. variable:: CPACK_IFW_PACKAGE_START_MENU_DIRECTORY # # Name of the default program group for the product in the Windows Start menu. # # By default used :variable:`CPACK_IFW_PACKAGE_NAME`. # # .. variable:: CPACK_IFW_TARGET_DIRECTORY # # Default target directory for installation. # By default used # "@ApplicationsDir@/:variable:`CPACK_PACKAGE_INSTALL_DIRECTORY`" # # You can use predefined variables. # # .. variable:: CPACK_IFW_ADMIN_TARGET_DIRECTORY # # Default target directory for installation with administrator rights. # # You can use predefined variables. # # .. variable:: CPACK_IFW_PACKAGE_GROUP # # The group, which will be used to configure the root package # # .. variable:: CPACK_IFW_PACKAGE_NAME # # The root package name, which will be used if configuration group is not # specified # # .. variable:: CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_NAME # # Filename of the generated maintenance tool. # The platform-specific executable file extension is appended. # # By default used QtIFW_ defaults (``maintenancetool``). # # .. variable:: CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_INI_FILE # # Filename for the configuration of the generated maintenance tool. # # By default used QtIFW_ defaults (``maintenancetool.ini``). # # .. variable:: CPACK_IFW_PACKAGE_ALLOW_NON_ASCII_CHARACTERS # # Set to ``ON`` if the installation path can contain non-ASCII characters. # # Is ``ON`` for QtIFW_ less 2.0 tools. # # .. variable:: CPACK_IFW_PACKAGE_ALLOW_SPACE_IN_PATH # # Set to ``OFF`` if the installation path cannot contain space characters. # # Is ``ON`` for QtIFW_ less 2.0 tools. # # .. variable:: CPACK_IFW_PACKAGE_CONTROL_SCRIPT # # Filename for a custom installer control script. # # .. variable:: CPACK_IFW_PACKAGE_RESOURCES # # List of additional resources ('.qrc' files) to include in the installer # binary. # # You can use :command:`cpack_ifw_add_package_resources` command to resolve # relative paths. # # .. variable:: CPACK_IFW_REPOSITORIES_ALL # # The list of remote repositories. # # The default value of this variable is computed by CPack and contains # all repositories added with command :command:`cpack_ifw_add_repository` # or updated with command :command:`cpack_ifw_update_repository`. # # .. variable:: CPACK_IFW_DOWNLOAD_ALL # # If this is ``ON`` all components will be downloaded. # By default is ``OFF`` or used value # from ``CPACK_DOWNLOAD_ALL`` if set # # Components # """""""""" # # .. variable:: CPACK_IFW_RESOLVE_DUPLICATE_NAMES # # Resolve duplicate names when installing components with groups. # # .. variable:: CPACK_IFW_PACKAGES_DIRECTORIES # # Additional prepared packages dirs that will be used to resolve # dependent components. # # Tools # """""""" # # .. variable:: CPACK_IFW_FRAMEWORK_VERSION # # The version of used QtIFW_ tools. # # .. variable:: CPACK_IFW_BINARYCREATOR_EXECUTABLE # # The path to "binarycreator" command line client. # # This variable is cached and can be configured user if need. # # .. variable:: CPACK_IFW_REPOGEN_EXECUTABLE # # The path to "repogen" command line client. # # This variable is cached and can be configured user if need. # # Commands # ^^^^^^^^^ # # The module defines the following commands: # # .. command:: cpack_ifw_configure_component # # Sets the arguments specific to the CPack IFW generator. # # :: # # cpack_ifw_configure_component( [COMMON] [ESSENTIAL] # [NAME ] # [VERSION ] # [SCRIPT