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()
pull/2278/merge
Jon Turney 7 years ago committed by Nirbheek Chauhan
parent d78fa6ffe3
commit 50aabc0129
  1. 2
      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.

Loading…
Cancel
Save