summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-19 14:02:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-19 14:02:57 (GMT)
commit6b44cd7d3a8049809e63385e272d995420064801 (patch)
treef228d7718b6ca526b9e74bc3525fc9ef3d711028 /Help
parent58804d1e58ff3aa6f3b473f8b4739ac7dc547e6a (diff)
parent0b65a2b2531b05abe1bc1f1950bb963af7a6d42f (diff)
downloadCMake-6b44cd7d3a8049809e63385e272d995420064801.zip
CMake-6b44cd7d3a8049809e63385e272d995420064801.tar.gz
CMake-6b44cd7d3a8049809e63385e272d995420064801.tar.bz2
Merge topic 'depfile-parsing-update'
0b65a2b253 add_custom_command(DEPFILE): ensure all dependencies are taken into account e04a352cca Depfile parsing: enhance compatibility with GNU Make Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6861
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_custom_command.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index f07b4a6..ec73f9f 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -288,11 +288,10 @@ The options are:
.. productionlist:: depfile
depfile: `rule`*
- rule: `targets` (`colon` `dependencies`?)? `eol`
- colon: `separator`* ':' space `separator`*
- targets: `target` (`separator` `target`)*
+ rule: `targets` (`:` (`separator` `dependencies`?)?)? `eol`
+ targets: `target` (`separator` `target`)* `separator`*
target: `pathname`
- dependencies: `dependency` (`separator` `dependency`)*
+ dependencies: `dependency` (`separator` `dependency`)* `separator`*
dependency: `pathname`
separator: (space | line_continue)+
line_continue: '\' `eol`