parent
0fc363021e
commit
ce1602c1ee
10 changed files with 143 additions and 7 deletions
@ -0,0 +1,5 @@ |
||||
## `alias_target` of `both_libraries` |
||||
|
||||
Previously, when passing a [[@both_libs]] object to [[alias_target]], the alias |
||||
would only point to the shared library. It now points to both the static and the |
||||
shared library. |
@ -0,0 +1,8 @@ |
||||
## New `as_static` and `as_shared` methods on internal dependencies |
||||
|
||||
[[@dep]] object returned by [[declare_dependency]] now has `.as_static()` and |
||||
`.as_shared()` methods, to convert to a dependency that prefers the `static` |
||||
or the `shared` version of the linked [[@both_libs]] target. |
||||
|
||||
When the same dependency is used without those methods, the |
||||
`default_both_libraries` option determines which version is used. |
Loading…
Reference in new issue