parent
b0f90a793f
commit
c2ee82cc41
7 changed files with 56 additions and 1 deletions
@ -0,0 +1,16 @@ |
||||
## `target_type` in `build_targets` accepts the value 'shared_module' |
||||
|
||||
The `target_type` keyword argument in `build_target()` now accepts the |
||||
value `'shared_module'`. |
||||
|
||||
The statement |
||||
|
||||
```meson |
||||
build_target(..., target_type: 'shared_module') |
||||
``` |
||||
|
||||
is equivalent to this: |
||||
|
||||
```meson |
||||
shared_module(...) |
||||
``` |
@ -1,2 +1,3 @@ |
||||
project('shared library test', 'c') |
||||
lib = shared_library('mylib', 'libfile.c') |
||||
build_target('mylib2', 'libfile.c', target_type: 'shared_library') |
||||
|
Loading…
Reference in new issue