To maintain backward compatibility we cannot add recursive objects by default. Print a warning when there are recursive objects to be pulled and the argument is not set. After a while we'll do pull recursive objects by default.pull/3404/head
parent
60aaee55d4
commit
9a82b0136a
6 changed files with 37 additions and 7 deletions
@ -0,0 +1,12 @@ |
||||
## Recursively extract objects |
||||
|
||||
`recursive` keyword argument has been added to `extract_all_objects`. When set |
||||
to `true` it will also return objects passed to the `objects` argument of this |
||||
target. By default only objects built for this target are returned to maintain |
||||
backward compatibility with previous versions. The default will eventually be |
||||
changed to `true` in a future version. |
||||
|
||||
```meson |
||||
lib1 = static_library('a', 'source.c', objects : 'prebuilt.o') |
||||
lib2 = static_library('b', objects : lib1.extract_all_objects(recursive : true)) |
||||
``` |
Loading…
Reference in new issue