diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-06 14:39:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-06 14:39:34 +0200 |
commit | d1f436049f0fba43ed1d5e5d8e490b7873009403 (patch) | |
tree | ac683030a61c777673be720b33482a731817295f /libbuild2/config/utility.txx | |
parent | 76be0a35f6c37cda7ba65530330f1ac246fb52a8 (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/config/utility.txx')
0 files changed, 0 insertions, 0 deletions