diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-23 13:46:10 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-23 14:17:12 (GMT) |
commit | 339dbc901f04369e997d8d65b60380d6255e5f10 (patch) | |
tree | 0194d02d223163a2a821468e7919060307a6f774 /Help/policy/CMP0116.rst | |
parent | e3740e020ed75080dcbc2ac2ca6b2fd25d968f99 (diff) | |
download | CMake-339dbc901f04369e997d8d65b60380d6255e5f10.zip CMake-339dbc901f04369e997d8d65b60380d6255e5f10.tar.gz CMake-339dbc901f04369e997d8d65b60380d6255e5f10.tar.bz2 |
Help: Note that CMP0116 is recorded at the time of CC creation
Diffstat (limited to 'Help/policy/CMP0116.rst')
-rw-r--r-- | Help/policy/CMP0116.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/policy/CMP0116.rst b/Help/policy/CMP0116.rst index 25a14c4..18e5a96 100644 --- a/Help/policy/CMP0116.rst +++ b/Help/policy/CMP0116.rst @@ -28,7 +28,10 @@ called from a subdirectory. The ``OLD`` behavior for this policy is to pass the ``DEPFILE`` to Ninja unaltered. The ``NEW`` behavior for this policy is to transform the ``DEPFILE`` -after running the custom command. +after running the custom command. The status of ``CMP0116`` is recorded at the +time of the custom command's creation, and you can have custom commands in the +same directory with different values for ``CMP0116`` by setting the policy +before each custom command. This policy was introduced in CMake version 3.20. Unlike most policies, CMake version |release| does *not* warn by default when this policy is not set |