hello_sources = [ 'main.c', 'hello-window.c', ] hello_deps = [ dependency('gio-2.0', version: '>= 2.50'), dependency('gtk+-3.0', version: '>= 3.22'), ] gnome = import('gnome') hello_sources += gnome.compile_resources('hello-resources', 'hello.gresource.xml', c_name: 'hello' ) executable('hello', hello_sources, dependencies: hello_deps, install: true, )