diff options
| author | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-12-08 18:44:56 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-12-08 18:44:56 +0200 |
| commit | 6c96f8712cb108f0d62874fa7563d9c010ee4952 (patch) | |
| tree | e45412248fa73655e704a3e2f572e8e7ce41f60b /docs/markdown/snippets/vala-target-extra-methods.md | |
| parent | 65e924bba6d02335404c409d327d93bbbc82176b (diff) | |
| download | meson-6c96f8712cb108f0d62874fa7563d9c010ee4952.tar.gz | |
Generate release notes for 1.10.
Diffstat (limited to 'docs/markdown/snippets/vala-target-extra-methods.md')
| -rw-r--r-- | docs/markdown/snippets/vala-target-extra-methods.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/markdown/snippets/vala-target-extra-methods.md b/docs/markdown/snippets/vala-target-extra-methods.md deleted file mode 100644 index 526f557a2..000000000 --- a/docs/markdown/snippets/vala-target-extra-methods.md +++ /dev/null @@ -1,21 +0,0 @@ -## Vala BuildTarget dependency enhancements - -A BuildTarget that has Vala sources can now get a File dependency for its -generated header, vapi, and gir files. - -```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() - -custom_target( - 'foo-typelib', - command : ['g-ir-compiler', '--output', '@OUTPUT@', '@INPUT@'], - input : lib.vala_gir(), - output : 'Foo-1.0.typelib' -) -``` - -`static.c` will not start compilation until `lib.h` is generated. |
