From 0315d269c266e74ab16167d763a8e75d357da082 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 27 Apr 2020 07:45:11 -0400 Subject: 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. --- Help/command/install.rst | 10 ++++++---- 1 file 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 -- cgit v0.12