diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-05-19 18:36:05 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-03 21:06:23 +0000 |
commit | 50aabc01293afc4778a7c881ffa0c3a531c39dbe (patch) | |
tree | f448fc816845f91976e475fdfd0ec5ce6803439f /docs/markdown/Reference-manual.md | |
parent | d78fa6ffe396b7e34847ae63771d053d9cbc4339 (diff) | |
download | meson-50aabc01293afc4778a7c881ffa0c3a531c39dbe.zip meson-50aabc01293afc4778a7c881ffa0c3a531c39dbe.tar.gz meson-50aabc01293afc4778a7c881ffa0c3a531c39dbe.tar.bz2 |
Document @PLAINNAME@ and @BASENAME@ substitutions in custom_target(command:)
Since f3ff8fe6 (0.39.0), this has a common implementation with the same
substitution in generators, but I think they existed earlier.
@BASENAME@ is used internally by the custom target generated by
windows.compile_resources()
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 44ac287..9b1c96f 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -282,6 +282,8 @@ the following special string substitutions: - `@OUTPUT0@` `@OUTPUT1@` `...` the full path to the output with the specified array index in `output` - `@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 +- `@BASENAME@`: the input filename, with extension removed The returned object also has methods that are documented in the [object methods section](#custom-target-object) below. |