diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-04-16 21:29:21 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2018-04-18 14:54:52 -0400 |
commit | 9a82b0136a6b9cd9d2000342a0506b7c8bf4897d (patch) | |
tree | cea978decfa60fa96cd45a5a9f6dcc3294452503 /docs/markdown/Reference-manual.md | |
parent | 60aaee55d47e5938662a48d85ba659d8f79c7187 (diff) | |
download | meson-9a82b0136a6b9cd9d2000342a0506b7c8bf4897d.zip meson-9a82b0136a6b9cd9d2000342a0506b7c8bf4897d.tar.gz meson-9a82b0136a6b9cd9d2000342a0506b7c8bf4897d.tar.bz2 |
extract_all_objects: Add 'recursive' keyword argument
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.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 32639b0..776703c 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1736,7 +1736,11 @@ A build target is either an [executable](#executable), [shared module](#shared_module). - `extract_all_objects()` is same as `extract_objects` but returns all - object files generated by this target + object files generated by this target. Since 0.46.0 keyword argument + `recursive` must be set to `true` to also return objects passed to the + `object` 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. - `extract_objects()` returns an opaque value representing the generated object files of arguments, usually used to take single |