summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-06-16 08:44:10 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-10-08 10:42:41 -0700
commita5094a134aa8b2a971153ed8446f27d986f476e7 (patch)
tree821380b5b6f801d66181abad34ef17f499999f8f /docs/yaml
parent8d69552dbd61144cdeab4ac93137db672c62fd52 (diff)
downloadmeson-a5094a134aa8b2a971153ed8446f27d986f476e7.tar.gz
vala: add a method to get a generated vala header
This allows targets that don't link with a vala target to rely on the header generation.
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/objects/build_tgt.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/yaml/objects/build_tgt.yaml b/docs/yaml/objects/build_tgt.yaml
index 73b9b5da7..7229de590 100644
--- a/docs/yaml/objects/build_tgt.yaml
+++ b/docs/yaml/objects/build_tgt.yaml
@@ -77,3 +77,11 @@ methods:
objects feature compatible with [[@external_program]] objects. This
simplifies use-cases where an executable is used instead of
an [[@external_program]].
+
+- name: vala_header
+ returns: file
+ since: 1.10.0
+ description: |
+ Returns a [[@file]] object pointing to a C compatible header generated by
+ the vala compiler, if this target does not generate a vala header then it is
+ an error to call this method.