diff options
author | Brad King <brad.king@kitware.com> | 2020-04-27 11:45:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-27 11:45:11 (GMT) |
commit | 0315d269c266e74ab16167d763a8e75d357da082 (patch) | |
tree | b3fb744adeb59b3ccd5d0bdeb65d4e6b17439f08 /Help/command | |
parent | c77353e11cbfcb2534a0b635f6cb20ac3dd28bb7 (diff) | |
download | CMake-0315d269c266e74ab16167d763a8e75d357da082.zip CMake-0315d269c266e74ab16167d763a8e75d357da082.tar.gz CMake-0315d269c266e74ab16167d763a8e75d357da082.tar.bz2 |
Help: Reference policy CMP0082 from install() command docs
The policy plays an important role in the behavior of the `install()`
command, so the latter's documentation should mention it.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/install.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst index 3b72ea6..c8df7d9 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -18,10 +18,12 @@ Synopsis Introduction ^^^^^^^^^^^^ -This command generates installation rules for a project. Rules -specified by calls to this command within a source directory are -executed in order during installation. The order across directories -is not defined. +This command generates installation rules for a project. Install rules +specified by calls to the ``install()`` command within a source directory +are executed in order during installation. Install rules in subdirectories +added by calls to the :command:`add_subdirectory` command are interleaved +with those in the parent directory to run in the order declared (see +policy :policy:`CMP0082`). There are multiple signatures for this command. Some of them define installation options for files and targets. Options common to |