Debian Codegraph @

subprojects/meson-docs/docs/yaml/functions/both_libraries.yaml

raw
1 name: both_libraries
2 returns: both_libs
3 since: 0.46.0
4 description: |
5 Builds both a static and shared library with the given sources.
6 Positional and keyword arguments are otherwise the same as for
7 [[library]]. Source files will be compiled only once and
8 object files will be reused to build both shared and static libraries,
9 unless `b_staticpic` user option or `pic` argument are set to false in
10 which case sources will be compiled twice.
11
12
13 posargs_inherit: library
14 varargs_inherit: library
15 kwargs_inherit: library