The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
457 B
10 lines
457 B
7 years ago
|
## Building both shared and static libraries
|
||
|
|
||
|
A new function `both_libraries()` has been added to build both shared and static
|
||
|
libraries at the same time. Source files will be compiled only once and object
|
||
|
files will be reused to build both shared and static libraries, unless
|
||
|
`b_staticpic` user option or `pic` argument are set to false in which case
|
||
|
sources will be compiled twice.
|
||
|
|
||
|
The returned `buildtarget` object always represents the shared library.
|