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/yaml/functions/custom_target.yaml | |
| 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/yaml/functions/custom_target.yaml')
| -rw-r--r-- | docs/yaml/functions/custom_target.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index cd5c60e2e..585d2602a 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -31,7 +31,9 @@ description: | - `@OUTDIR@`: the full path to the directory where the output(s) must be written - `@DEPFILE@`: the full path to the dependency file passed to `depfile` - `@PLAINNAME@`: the input filename, without a path + - `@PLAINNAME0@` `@PLAINNAME1@` `...` *(since 1.5.0)*: the input filename without a path, with the specified array index in `input` - `@BASENAME@`: the input filename, with extension removed + - `@BASENAME0@` `@BASENAME1@` `...` *(since 1.5.0)*: the input filename with extension removed, with the specified array index in `input` - `@PRIVATE_DIR@` *(since 0.50.1)*: path to a directory where the custom target must store all its intermediate files. - `@SOURCE_ROOT@`: the path to the root of the source tree. Depending on the backend, this may be an absolute or a relative to current workdir path. |
