The Meson build system Wiki
Brought to you by:
jussip
The new home of Meson's documentation is here. The information below is preserved only for posterity. It should be considered out of date.
Meson has experimental support for compiling Vala programs. A skeleton Vala file looks like this.
project('valaprog', 'vala') glib = dependency('glib-2.0') gobject = dependency('gobject-2.0') executable('valaprog', 'prog.vala', deps : [glib, gobject])
You must always specify glib and gobject as dependencies, because all Vala applications use them.