diff options
author | Brad King <brad.king@kitware.com> | 2020-04-27 14:42:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-27 14:42:56 (GMT) |
commit | 265fb71c917e3921012c2950a921cb380f60ae0f (patch) | |
tree | 558105befd280ae61b4f2804b810b8507d0430b9 /Help | |
parent | 40ea6b328b31addef9c6121be5263dc4982d2d0c (diff) | |
parent | 0315d269c266e74ab16167d763a8e75d357da082 (diff) | |
download | CMake-265fb71c917e3921012c2950a921cb380f60ae0f.zip CMake-265fb71c917e3921012c2950a921cb380f60ae0f.tar.gz CMake-265fb71c917e3921012c2950a921cb380f60ae0f.tar.bz2 |
Merge topic 'doc-install-dir-order'
0315d269c2 Help: Reference policy CMP0082 from install() command docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Acked-by: Roscoe A. Bartlett <rabartl@sandia.gov>
Merge-request: !4672
Diffstat (limited to 'Help')
-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 |