aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-12-19 13:31:40 +0100
committerDylan Baker <dylan@pnwbakers.com>2023-01-04 09:44:32 -0800
commit8d2940024bd16919bf7772334dd0048604abecfb (patch)
treeea1e632bf53aa68b7328cf4dcb120a1e51969553 /docs/markdown
parent5ef824b2f3649bde1239d4b23c2bd20ecea795cf (diff)
downloadmeson-8d2940024bd16919bf7772334dd0048604abecfb.zip
meson-8d2940024bd16919bf7772334dd0048604abecfb.tar.gz
meson-8d2940024bd16919bf7772334dd0048604abecfb.tar.bz2
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 <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/gen_objects.md6
1 files changed, 6 insertions, 0 deletions
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.