Merge topic 'doc-CPackIFW'

a327b206 CPackIFW: Format documentation
This commit is contained in:
Brad King 2016-09-19 08:55:15 -04:00 committed by CMake Topic Stage
commit 31d63ac88c
1 changed files with 107 additions and 88 deletions

View File

@ -181,142 +181,161 @@
# #
# The module defines the following commands: # The module defines the following commands:
# #
# --------------------------------------------------------------------------
#
# .. command:: cpack_ifw_configure_component # .. command:: cpack_ifw_configure_component
# #
# Sets the arguments specific to the CPack IFW generator. # Sets the arguments specific to the CPack IFW generator.
# #
# :: # ::
# #
# cpack_ifw_configure_component(<compname> [COMMON] [ESSENTIAL] # cpack_ifw_configure_component(<compname> [COMMON] [ESSENTIAL]
# [NAME <name>] # [NAME <name>]
# [VERSION <version>] # [VERSION <version>]
# [SCRIPT <script>] # [SCRIPT <script>]
# [PRIORITY <priority>] # [PRIORITY <priority>]
# [DEPENDS <com_id> ...] # [DEPENDS <com_id> ...]
# [LICENSES <display_name> <file_path> ...] # [LICENSES <display_name> <file_path> ...]
# [USER_INTERFACES <file_path> <file_path> ...]) # [USER_INTERFACES <file_path> <file_path> ...])
# #
# This command should be called after :command:`cpack_add_component` command. # This command should be called after :command:`cpack_add_component` command.
# #
# ``COMMON`` if set, then the component will be packaged and installed as part # ``COMMON``
# of a group to which it belongs. # if set, then the component will be packaged and installed as part
# of a group to which it belongs.
# #
# ``ESSENTIAL`` if set, then the package manager stays disabled until that # ``ESSENTIAL``
# component is updated. # if set, then the package manager stays disabled until that
# component is updated.
# #
# ``NAME`` is used to create domain-like identification for this component. # ``NAME``
# By default used origin component name. # is used to create domain-like identification for this component.
# By default used origin component name.
# #
# ``VERSION`` is version of component. # ``VERSION``
# By default used :variable:`CPACK_PACKAGE_VERSION`. # is version of component.
# By default used :variable:`CPACK_PACKAGE_VERSION`.
# #
# ``SCRIPT`` is a relative or absolute path to operations script # ``SCRIPT``
# for this component. # is a relative or absolute path to operations script
# for this component.
# #
# ``PRIORITY`` is priority of the component in the tree. # ``PRIORITY``
# is priority of the component in the tree.
# #
# ``DEPENDS`` list of dependency component identifiers in QtIFW_ style. # ``DEPENDS``
# list of dependency component identifiers in QtIFW_ style.
# #
# ``LICENSES`` pair of <display_name> and <file_path> of license text for this # ``LICENSES``
# component. You can specify more then one license. # pair of <display_name> and <file_path> of license text for this
# component. You can specify more then one license.
# #
# ``USER_INTERFACES`` a list of <file_path> representing pages to load # ``USER_INTERFACES``
# a list of <file_path> representing pages to load
# #
# --------------------------------------------------------------------------
# #
# .. command:: cpack_ifw_configure_component_group # .. command:: cpack_ifw_configure_component_group
# #
# Sets the arguments specific to the CPack IFW generator. # Sets the arguments specific to the CPack IFW generator.
# #
# :: # ::
# #
# cpack_ifw_configure_component_group(<groupname> # cpack_ifw_configure_component_group(<groupname>
# [NAME <name>] # [NAME <name>]
# [VERSION <version>] # [VERSION <version>]
# [SCRIPT <script>] # [SCRIPT <script>]
# [PRIORITY <priority>] # [PRIORITY <priority>]
# [LICENSES <display_name> <file_path> ...] # [LICENSES <display_name> <file_path> ...]
# [USER_INTERFACES <file_path> <file_path> ...]) # [USER_INTERFACES <file_path> <file_path> ...])
# #
# This command should be called after :command:`cpack_add_component_group` # This command should be called after :command:`cpack_add_component_group`
# command. # command.
# #
# ``NAME`` is used to create domain-like identification for this component # ``NAME``
# group. # is used to create domain-like identification for this component group.
# By default used origin component group name. # By default used origin component group name.
# #
# ``VERSION`` is version of component group. # ``VERSION``
# By default used :variable:`CPACK_PACKAGE_VERSION`. # is version of component group.
# By default used :variable:`CPACK_PACKAGE_VERSION`.
# #
# ``SCRIPT`` is a relative or absolute path to operations script # ``SCRIPT``
# for this component group. # is a relative or absolute path to operations script
# for this component group.
# #
# ``PRIORITY`` is priority of the component group in the tree. # ``PRIORITY``
# is priority of the component group in the tree.
# #
# ``LICENSES`` pair of <display_name> and <file_path> of license text for this # ``LICENSES``
# component group. You can specify more then one license. # pair of <display_name> and <file_path> of license text for this
# component group. You can specify more then one license.
# #
# ``USER_INTERFACES`` a list of <file_path> representing pages to load # ``USER_INTERFACES``
# a list of <file_path> representing pages to load
# #
# --------------------------------------------------------------------------
# #
# .. command:: cpack_ifw_add_repository # .. command:: cpack_ifw_add_repository
# #
# Add QtIFW_ specific remote repository to binary installer. # Add QtIFW_ specific remote repository to binary installer.
# #
# :: # ::
# #
# cpack_ifw_add_repository(<reponame> [DISABLED] # cpack_ifw_add_repository(<reponame> [DISABLED]
# URL <url> # URL <url>
# [USERNAME <username>] # [USERNAME <username>]
# [PASSWORD <password>] # [PASSWORD <password>]
# [DISPLAY_NAME <display_name>]) # [DISPLAY_NAME <display_name>])
# #
# This command will also add the <reponame> repository # This command will also add the <reponame> repository
# to a variable :variable:`CPACK_IFW_REPOSITORIES_ALL`. # to a variable :variable:`CPACK_IFW_REPOSITORIES_ALL`.
# #
# ``DISABLED`` if set, then the repository will be disabled by default. # ``DISABLED``
# if set, then the repository will be disabled by default.
# #
# ``URL`` is points to a list of available components. # ``URL``
# is points to a list of available components.
# #
# ``USERNAME`` is used as user on a protected repository. # ``USERNAME``
# is used as user on a protected repository.
# #
# ``PASSWORD`` is password to use on a protected repository. # ``PASSWORD``
# is password to use on a protected repository.
# #
# ``DISPLAY_NAME`` is string to display instead of the URL. # ``DISPLAY_NAME``
# is string to display instead of the URL.
# #
# #
# --------------------------------------------------------------------------
#
# .. command:: cpack_ifw_update_repository # .. command:: cpack_ifw_update_repository
# #
# Update QtIFW_ specific repository from remote repository. # Update QtIFW_ specific repository from remote repository.
# #
# :: # ::
# #
# cpack_ifw_update_repository(<reponame> # cpack_ifw_update_repository(<reponame>
# [[ADD|REMOVE] URL <url>]| # [[ADD|REMOVE] URL <url>]|
# [REPLACE OLD_URL <old_url> NEW_URL <new_url>]] # [REPLACE OLD_URL <old_url> NEW_URL <new_url>]]
# [USERNAME <username>] # [USERNAME <username>]
# [PASSWORD <password>] # [PASSWORD <password>]
# [DISPLAY_NAME <display_name>]) # [DISPLAY_NAME <display_name>])
# #
# This command will also add the <reponame> repository # This command will also add the <reponame> repository
# to a variable :variable:`CPACK_IFW_REPOSITORIES_ALL`. # to a variable :variable:`CPACK_IFW_REPOSITORIES_ALL`.
# #
# ``URL`` is points to a list of available components. # ``URL``
# is points to a list of available components.
# #
# ``OLD_URL`` is points to a list that will replaced. # ``OLD_URL``
# is points to a list that will replaced.
# #
# ``NEW_URL`` is points to a list that will replace to. # ``NEW_URL``
# is points to a list that will replace to.
# #
# ``USERNAME`` is used as user on a protected repository. # ``USERNAME``
# is used as user on a protected repository.
# #
# ``PASSWORD`` is password to use on a protected repository. # ``PASSWORD``
# is password to use on a protected repository.
# #
# ``DISPLAY_NAME`` is string to display instead of the URL. # ``DISPLAY_NAME``
# is string to display instead of the URL.
# #
# Example usage # Example usage
# ^^^^^^^^^^^^^ # ^^^^^^^^^^^^^
@ -368,16 +387,16 @@
# #
# Qt Installer Framework Manual: # Qt Installer Framework Manual:
# #
# Index page # * Index page:
# http://doc.qt.io/qtinstallerframework/index.html # http://doc.qt.io/qtinstallerframework/index.html
# #
# Component Scripting # * Component Scripting:
# http://doc.qt.io/qtinstallerframework/scripting.html # http://doc.qt.io/qtinstallerframework/scripting.html
# #
# Predefined Variables # * Predefined Variables:
# http://doc.qt.io/qtinstallerframework/scripting.html#predefined-variables # http://doc.qt.io/qtinstallerframework/scripting.html#predefined-variables
# #
# Promoting Updates # * Promoting Updates:
# http://doc.qt.io/qtinstallerframework/ifw-updates.html # http://doc.qt.io/qtinstallerframework/ifw-updates.html
# #
# Download Qt Installer Framework for you platform from Qt site: # Download Qt Installer Framework for you platform from Qt site: