summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-28 15:16:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-28 15:17:09 (GMT)
commitcac09cc52ccba9f3435e4d7cc227d15b6a009855 (patch)
tree5befeddbc7b7e6d94024b0e221c4528df335e4f7 /Help/command
parent4e98203c6c318f7c2caf4c31b2c2863772eef57b (diff)
parentf158ac19e1e52362b04ff08c309ac3cf8e429bb7 (diff)
downloadCMake-cac09cc52ccba9f3435e4d7cc227d15b6a009855.zip
CMake-cac09cc52ccba9f3435e4d7cc227d15b6a009855.tar.gz
CMake-cac09cc52ccba9f3435e4d7cc227d15b6a009855.tar.bz2
Merge topic 'customcommandworkingdirectory'
f158ac19e1 add_custom_{command,target}: WORKING_DIRECTORY generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2409
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/add_custom_command.rst3
-rw-r--r--Help/command/add_custom_target.rst3
2 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 5f74c54..71fe494 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -182,6 +182,9 @@ The options are:
If it is a relative path it will be interpreted relative to the
build tree directory corresponding to the current source directory.
+ Arguments to ``WORKING_DIRECTORY`` may use
+ :manual:`generator expressions <cmake-generator-expressions(7)>`.
+
``DEPFILE``
Specify a ``.d`` depfile for the :generator:`Ninja` generator.
A ``.d`` file holds dependencies usually emitted by the custom
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst
index bd61c8b..a6b2f77 100644
--- a/Help/command/add_custom_target.rst
+++ b/Help/command/add_custom_target.rst
@@ -121,3 +121,6 @@ The options are:
Execute the command with the given current working directory.
If it is a relative path it will be interpreted relative to the
build tree directory corresponding to the current source directory.
+
+ Arguments to ``WORKING_DIRECTORY`` may use
+ :manual:`generator expressions <cmake-generator-expressions(7)>`.