summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorFeRD (Frank Dana) <ferdnyc@gmail.com>2024-03-28 20:13:36 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-28 20:59:00 (GMT)
commit8cbd6f575488220948c3fff3249c683b21a7dae7 (patch)
treeb4acd67dabbe0a3ec7723672be3a4aaf9f9de620 /Help
parentc5c524394e0f02ca6ced262f92d1094c60fb072e (diff)
downloadCMake-8cbd6f575488220948c3fff3249c683b21a7dae7.zip
CMake-8cbd6f575488220948c3fff3249c683b21a7dae7.tar.gz
CMake-8cbd6f575488220948c3fff3249c683b21a7dae7.tar.bz2
Help: Fix location of install() note about superseded commands
The note regarding commands superseded by install() somehow wound up nested under the install(EXPORT) signature, when it has nothing to do with install(EXPORT). Move it to the top level, immediately before the Examples section.
Diffstat (limited to 'Help')
-rw-r--r--Help/command/install.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 6da077e..b2742d6 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -898,16 +898,6 @@ Signatures
executable from the installation tree using the imported target name
``mp_myexe`` as if the target were built in its own tree.
- .. note::
- This command supersedes the :command:`install_targets` command and
- the :prop_tgt:`PRE_INSTALL_SCRIPT` and :prop_tgt:`POST_INSTALL_SCRIPT`
- target properties. It also replaces the ``FILES`` forms of the
- :command:`install_files` and :command:`install_programs` commands.
- The processing order of these install rules relative to
- those generated by :command:`install_targets`,
- :command:`install_files`, and :command:`install_programs` commands
- is not defined.
-
.. signature::
install(RUNTIME_DEPENDENCY_SET <set-name> [...])
@@ -971,6 +961,16 @@ Signatures
* ``POST_INCLUDE_FILES <file>...``
* ``POST_EXCLUDE_FILES <file>...``
+.. note::
+ This command supersedes the :command:`install_targets` command and
+ the :prop_tgt:`PRE_INSTALL_SCRIPT` and :prop_tgt:`POST_INSTALL_SCRIPT`
+ target properties. It also replaces the ``FILES`` forms of the
+ :command:`install_files` and :command:`install_programs` commands.
+ The processing order of these install rules relative to
+ those generated by :command:`install_targets`,
+ :command:`install_files`, and :command:`install_programs` commands
+ is not defined.
+
Examples
^^^^^^^^