aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-06 14:39:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-06 14:39:34 +0200
commitd1f436049f0fba43ed1d5e5d8e490b7873009403 (patch)
treeac683030a61c777673be720b33482a731817295f /libbuild2/script/parser.hxx
parent76be0a35f6c37cda7ba65530330f1ac246fb52a8 (diff)
Add support for specifying custom ad hoc pattern rule names
Besides diagnostics, this allows us to use name in the rule hint, for example: [rule_name=hello.link] exe{~'/(.*)/'}: obje{~'/\1/'} {{ $cxx.path -o $path($>) $path($<[0]) }} [rule_hint=hello] exe{hello}: obje{hello} obje{hello}: c{hello-c}
Diffstat (limited to 'libbuild2/script/parser.hxx')
0 files changed, 0 insertions, 0 deletions