Custom target (
This object is returned by
custom_target() and contains a target with the following methods:
Custom target objects are returned by the following functions and methods:
Custom target methods
Returns an opaque object that references this target, and can be used as a source in other targets. When it is used as such it will make that target depend on this custom target, but the only source added will be the one that corresponds to the index of the custom target's output argument.
Returns a full path pointing to the result target file
NOTE: In most cases using the object itself will do the same job as
this and will also allow Meson to setup inter-target dependencies
correctly. Please file a bug if that doesn't work for you.
(since 0.54.0) It can be also called on indexes objects:
Returns a list of opaque objects that references this target,
and can be used as a source in other targets. This can be used to
iterate outputs with
The results of the search are