From 5c4d730dd4a4ebfc4d4fd549c28e08821e1bc573 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" Date: Wed, 12 Feb 2020 16:52:23 +0100 Subject: Help: CPackComponent: improve summary and introduction Also: * provide some hyperlinks * update parenthesis on graphical installers (no longer restricted to Win and macOS) --- Modules/CPackComponent.cmake | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Modules/CPackComponent.cmake b/Modules/CPackComponent.cmake index 211d767..22fa6bb 100644 --- a/Modules/CPackComponent.cmake +++ b/Modules/CPackComponent.cmake @@ -5,19 +5,18 @@ CPackComponent -------------- -Build binary and source package installers +Configure components for binary installers and source packages. Variables concerning CPack Components ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The CPackComponent module is the module which handles the component -part of CPack. See CPack module for general information about CPack. +This module handles the component part of :module:`CPack`. -For certain kinds of binary installers (including the graphical -installers on macOS and Windows), CPack generates installers that -allow users to select individual application components to install. -The contents of each of the components are identified by the COMPONENT -argument of CMake's INSTALL command. These components can be +For certain kinds of binary installers (especially the graphical installers), +CPack generates installers that allow users to select individual application +components to install. +The contents of each of the components are identified by the ``COMPONENT`` +argument of CMake's :command:`install` command. These components can be annotated with user-friendly names and descriptions, inter-component dependencies, etc., and grouped in various ways to customize the resulting installer. See the cpack_add_* commands, described below, @@ -25,9 +24,8 @@ for more information about component-specific installations. Component-specific installation allows users to select specific sets of components to install during the install process. Installation -components are identified by the COMPONENT argument of CMake's INSTALL -commands, and should be further described by the following CPack -commands: +components are identified by the ``COMPONENT`` argument of :command:`install`, +and should be further described by the following CPack commands: .. variable:: CPACK_COMPONENTS_ALL -- cgit v0.12