diff options
author | Brad King <brad.king@kitware.com> | 2023-08-02 18:39:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-03 14:52:11 (GMT) |
commit | 5d15231a672361b784073384df40b33c40943453 (patch) | |
tree | 63c986e763526b26c3e13b7d5642fb769502e8e9 /Help | |
parent | 6f4966cd76796819cb3cd1625a18e5e6d225bec0 (diff) | |
download | CMake-5d15231a672361b784073384df40b33c40943453.zip CMake-5d15231a672361b784073384df40b33c40943453.tar.gz CMake-5d15231a672361b784073384df40b33c40943453.tar.bz2 |
Help: Revert "improve install() documentation of argument ordering"
Revert commit f09fda97d8 (Help: improve install() documentation of
argument ordering, 2018-01-08, v3.11.0-rc1~126^2). Although the
example it added is correct, its explanation is misleading.
Revert it to make room for an alternative.
Issue: #25144
Issue: #16362
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/install.rst | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst index b7a49e6..541536d 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -67,21 +67,7 @@ signatures that specify them. The common options are: ``CONFIGURATIONS`` Specify a list of build configurations for which the install rule - applies (Debug, Release, etc.). Note that the values specified for - this option only apply to options listed AFTER the ``CONFIGURATIONS`` - option. For example, to set separate install paths for the Debug and - Release configurations, do the following: - - .. code-block:: cmake - - install(TARGETS target - CONFIGURATIONS Debug - RUNTIME DESTINATION Debug/bin) - install(TARGETS target - CONFIGURATIONS Release - RUNTIME DESTINATION Release/bin) - - Note that ``CONFIGURATIONS`` appears BEFORE ``RUNTIME DESTINATION``. + applies (Debug, Release, etc.). ``COMPONENT`` Specify an installation component name with which the install rule |