mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Depfile parsing: enhance compatibility with GNU Make
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user