summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_command.rst
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-20 18:51:42 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-20 18:51:42 (GMT)
commitcf6ac2d365dcfb00b32a0a10ac0c48a401d42ef5 (patch)
treea25f17669a4dfa68880e0bf56f9d70fe46870c40 /Help/command/add_custom_command.rst
parent21bc2fd945aa06c640bd609bf1e57cc208d6d6bd (diff)
parent8bb8c9fb138c0eb94f05f069577b16afc37faa46 (diff)
downloadCMake-cf6ac2d365dcfb00b32a0a10ac0c48a401d42ef5.zip
CMake-cf6ac2d365dcfb00b32a0a10ac0c48a401d42ef5.tar.gz
CMake-cf6ac2d365dcfb00b32a0a10ac0c48a401d42ef5.tar.bz2
Merge branch 'master' into cmakepresets-schema
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r--Help/command/add_custom_command.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 231f9da..a28b0b1 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -239,6 +239,11 @@ The options are:
command itself.
Using ``DEPFILE`` with other generators than Ninja is an error.
+ If the ``DEPFILE`` argument is relative, it should be relative to
+ :variable:`CMAKE_CURRENT_BINARY_DIR`, and any relative paths inside the
+ ``DEPFILE`` should also be relative to :variable:`CMAKE_CURRENT_BINARY_DIR`
+ (see policy :policy:`CMP0116`.)
+
Build Events
^^^^^^^^^^^^