create your project directory and add the vgl.wrap download
project/
- meson.build
- main.vala
- subprojects
- subprojects/vgl.wrap
init your meson build (meson.build init main.vala -d vgl)
your meson.build should look like this:
project('project-name', ['c', 'vala'])
executable('exe_name',
'main.vala',
dependencies: [dependency('vgl')],
install : true)
meson build
ninja -C build
./build/exe_name