diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-19 13:00:36 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-12-21 13:36:18 -0800 |
commit | 9e1baebb2363556b8d2779f13e7bb4b15141253d (patch) | |
tree | 346bf57cb923840b6ce9222670c8e544482b010b | |
parent | 99713ae257cae6f86b3b34ddf474a8cff247ea29 (diff) | |
download | meson-9e1baebb2363556b8d2779f13e7bb4b15141253d.zip meson-9e1baebb2363556b8d2779f13e7bb4b15141253d.tar.gz meson-9e1baebb2363556b8d2779f13e7bb4b15141253d.tar.bz2 |
fix build_target(objects: ...) documentation
The documentation for build_target(...) does not list file or str as
the possible types for the "objects" keyword argument, even though in
theory the argument is meant for prebuild object files that are part
of the sources.
Of course that is only the theory, because an ExtractedObjects object
is probably used a lot more than a file in the source tree. But
at least make the reference manual's typing information accurate.
-rw-r--r-- | docs/yaml/functions/_build_target_base.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml index 589e0d2..46eedc1 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -191,11 +191,11 @@ kwargs: (but *not* before that). On Windows, this argument has no effect. objects: - type: list[extracted_obj] + type: list[extracted_obj | file | str] description: | - List of prebuilt object files (usually for third party - products you don't have source to) that should be linked in this - target, **never** use this for object files that you build yourself. + List of object files that should be linked in this target. + These can include third party products you don't have source to, + or object files produced by other build targets. name_prefix: type: str | list[void] |