diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-06-16 08:46:14 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-08 10:42:41 -0700 |
| commit | 6c05dabc47389f471c435394c13981d92f288d9b (patch) | |
| tree | 64ac07e72bd78247b6984f4e9d73b8e9fecb459b /docs/markdown/snippets | |
| parent | a5094a134aa8b2a971153ed8446f27d986f476e7 (diff) | |
| download | meson-6c05dabc47389f471c435394c13981d92f288d9b.tar.gz | |
vala: Add method to build_target to get generated vapi file
Same as the previous, but for VAPI
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/vala-target-extra-methods.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/markdown/snippets/vala-target-extra-methods.md b/docs/markdown/snippets/vala-target-extra-methods.md index 1c7867e4f..72d89e56e 100644 --- a/docs/markdown/snippets/vala-target-extra-methods.md +++ b/docs/markdown/snippets/vala-target-extra-methods.md @@ -1,12 +1,14 @@ ## Vala BuildTarget dependency enhancements A BuildTarget that has Vala sources can now get a File dependency for its -generated header. +generated header and generated vapi. ```meson lib = library('foo', 'foo.vala') lib_h = lib.vala_header() lib_s = static_lib('static', 'static.c', lib_h) + +lib_vapi = lib.vala_vapi() ``` `static.c` will not start compilation until `lib.h` is generated. |
