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.
This commit is contained in:
Brad King
2020-04-27 07:45:11 -04:00
parent c77353e11c
commit 0315d269c2

View File

@@ -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