summaryrefslogtreecommitdiff
path: root/docs/yaml/objects
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-12-19 12:38:55 +0100
committerDylan Baker <dylan@pnwbakers.com>2023-01-04 09:44:32 -0800
commit2c8c0f95862f2cf8cdb0c4739d2aead7186b9dd8 (patch)
treef214921b2f91049abb25d28eb483745f987c6e47 /docs/yaml/objects
parent863f2a6d740448da71cc08d91e7e1af1b42cc9e1 (diff)
downloadmeson-2c8c0f95862f2cf8cdb0c4739d2aead7186b9dd8.tar.gz
document declare_dependency(object: ...)
Diffstat (limited to 'docs/yaml/objects')
-rw-r--r--docs/yaml/objects/build_tgt.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/yaml/objects/build_tgt.yaml b/docs/yaml/objects/build_tgt.yaml
index 2dec75300..6ca43f30b 100644
--- a/docs/yaml/objects/build_tgt.yaml
+++ b/docs/yaml/objects/build_tgt.yaml
@@ -13,8 +13,8 @@ methods:
source files. This is typically used to take single object files and link
them to unit tests or to compile some source files with custom flags. To
use the object file(s) in another build target, use the
- `objects:` keyword argument to a [[build_target]] or include them in the command
- line of a [[custom_target]].
+ `objects:` keyword argument to a [[build_target]] or [[declare_dependency]],
+ or include them in the command line of a [[custom_target]].
varargs:
name: source
type: str | file