Container for both a static and shared library.
Both libraries object objects are returned by the following functions and methods:
Both libraries object methods
Returns the stored shared library
Returns the stored static library
Acts the same as
extract_objects, but returns all object files generated
by this target.
By default only objects built for this target are returned to maintain
backward compatibility with previous versions. The default value for the
recursive kwarg will eventually be changed to
true in a future version.
# Acts the same as `extract_objects`, but returns all object files generated extract_all_objects( recursive : # Also return objects passed to the `objects` argument of this target )
accepts the following keyword arguments:
Also return objects passed to the
Returns an opaque value representing the object files generated for those
source files. This is typically used to take single object files and link
them to unit tests or to compile some source files with custom flags. To
use the object file(s) in another build target, use the
objects: keyword argument to a or include them in the command
line of a .
# Returns an opaque value representing the object files generated for those extract_objects( | source..., # Source filenames for which the built objects should be extracted )
Source filenames for which the built objects should be extracted.
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.
Returns the name of the target.
The results of the search are