Skip to content
Nirbheek Chauhan edited this page Jul 5, 2016 · 10 revisions

Compiling Vala applications

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',
           dependencies : [glib, gobject])

You must always specify glib and gobject as dependencies, because all Vala applications use them.


Back to index

Meson documentation has moved

All documentation is now on the main web site.

This page should be at this address.

Clone this wiki locally