diff options
| author | Stas Sergeev <stsp@users.sourceforge.net> | 2024-05-07 21:46:55 +0300 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-05-09 12:27:35 -0700 |
| commit | cfd57180eef9036c7167c5682b9f3055a540fccc (patch) | |
| tree | 65f8ed46c385af05d6387aec6d16b1fcd311564f /docs/markdown/snippets | |
| parent | f8aefe20703e3d64710fa675d511f9bef77dc32a (diff) | |
| download | meson-cfd57180eef9036c7167c5682b9f3055a540fccc.tar.gz | |
implement @PLAINNAME0@ and @BASENAME0@
@PLAINNAME@ and @BASENAME@ cannot be used in custom_target()
with multiple inputs. For those, similar macros are needed
with an index.
Fixes #13164
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/pln_bsn_support.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/pln_bsn_support.md b/docs/markdown/snippets/pln_bsn_support.md new file mode 100644 index 000000000..394339f14 --- /dev/null +++ b/docs/markdown/snippets/pln_bsn_support.md @@ -0,0 +1,11 @@ +## Support of indexed `@PLAINNAME@` and `@BASENAME@` + +In `custom_target()` and `configure_file()` with multiple inputs, +it is now possible to specify index for `@PLAINNAME@` and `@BASENAME@` +macros in `output`: +``` +custom_target('target_name', + output: '@PLAINNAME0@.dl', + input: [dep1, dep2], + command: cmd) +``` |
