summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-04 13:26:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-04 13:26:58 (GMT)
commitc7a1ccece91eb9d6bcd6063cf8d7df3aaf5bda97 (patch)
tree99b1b04a6c200e8ee684af71d027ba142de164ed /Help/policy
parent8ef33eb0332f9630083ae227e7c10879b91fae11 (diff)
parent9993774172f62ec7b0b69efc232e0a9fbc894394 (diff)
downloadCMake-c7a1ccece91eb9d6bcd6063cf8d7df3aaf5bda97.zip
CMake-c7a1ccece91eb9d6bcd6063cf8d7df3aaf5bda97.tar.gz
CMake-c7a1ccece91eb9d6bcd6063cf8d7df3aaf5bda97.tar.bz2
Merge topic 'doc-CMP0112'
9993774172 Help: Clarify when policy CMP0112 takes effect Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7134
Diffstat (limited to 'Help/policy')
-rw-r--r--Help/policy/CMP0112.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/policy/CMP0112.rst b/Help/policy/CMP0112.rst
index 313a51e..5b00d07 100644
--- a/Help/policy/CMP0112.rst
+++ b/Help/policy/CMP0112.rst
@@ -24,7 +24,9 @@ file name components no longer add a dependency on the evaluated target.
In CMake 3.18 and lower a dependency on the evaluated target of the above
generator expressions would always be added. CMake 3.19 and above prefer
to not add this dependency. This policy provides compatibility for projects
-that have not been updated to expect the new behavior.
+that have not been updated to expect the new behavior. The policy setting
+is recorded on each target when it is created, and decides whether generator
+expressions referencing that target imply a dependency on it.
The ``OLD`` behavior for this policy is to add a dependency on the evaluated
target for the above generator expressions. The ``NEW`` behavior of