diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-01-13 13:51:46 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-01-16 13:05:59 (GMT) |
commit | e04a352cca523eba2ac0d60063a3799f5bb1c69e (patch) | |
tree | 5709a77f14fb34f5fc6d9accfd1774ca4f0dccae /Help | |
parent | 856fbe62f33d3ad54b77635913fdfb22c853980c (diff) | |
download | CMake-e04a352cca523eba2ac0d60063a3799f5bb1c69e.zip CMake-e04a352cca523eba2ac0d60063a3799f5bb1c69e.tar.gz CMake-e04a352cca523eba2ac0d60063a3799f5bb1c69e.tar.bz2 |
Depfile parsing: enhance compatibility with GNU Make
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_custom_command.rst | 7 |
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` |