diff options
Diffstat (limited to 'meson/manual tests/7 vala composite widgets/meson.build')
-rw-r--r-- | meson/manual tests/7 vala composite widgets/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meson/manual tests/7 vala composite widgets/meson.build b/meson/manual tests/7 vala composite widgets/meson.build new file mode 100644 index 000000000..579ca5198 --- /dev/null +++ b/meson/manual tests/7 vala composite widgets/meson.build @@ -0,0 +1,21 @@ +project('composite', 'vala', 'c') +gnome = import('gnome') +deps = [ + dependency('glib-2.0', version : '>=2.38'), + dependency('gobject-2.0'), + dependency('gtk+-3.0'), +] +res = files('my-resources.xml') +gres = gnome.compile_resources( + 'my', res, + source_dir : '.', +) +executable( + 'demo', + sources : [ + 'mywidget.vala', + gres, + ], + dependencies : deps, + vala_args : ['--gresources', res], +) |