From 8d2940024bd16919bf7772334dd0048604abecfb Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 19 Dec 2022 13:31:40 +0100 Subject: allow passing generated objects in the "objects" keyword argument Generated objects can already be passed in the "objects" keyword argument as long as you go through an extract_objects() indirection. Allow the same even directly, since that is more intuitive than having to add them to "sources". Signed-off-by: Paolo Bonzini --- docs/markdown/snippets/gen_objects.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/gen_objects.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/gen_objects.md b/docs/markdown/snippets/gen_objects.md new file mode 100644 index 0000000..fecd701 --- /dev/null +++ b/docs/markdown/snippets/gen_objects.md @@ -0,0 +1,6 @@ +## Generated objects can be passed in the `objects:` keyword argument + +In previous versions of Meson, generated objects could only be +passed as sources of a build target. This was confusing, therefore +generated objects can now be passed in the `objects:` keyword +argument as well. -- cgit v1.1