From cfd57180eef9036c7167c5682b9f3055a540fccc Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Tue, 7 May 2024 21:46:55 +0300 Subject: 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 --- docs/markdown/snippets/pln_bsn_support.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/pln_bsn_support.md (limited to 'docs/markdown') 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) +``` -- cgit v1.3