parent
8ae740bb83
commit
9e1700cbfe
13 changed files with 35 additions and 31 deletions
@ -0,0 +1,15 @@ |
||||
|
||||
libsources = ['golib.c', 'golib.h'] |
||||
|
||||
girexe = executable('girprog', libsources, 'prog.c', |
||||
dependencies : [glib, gobj, gir, gmod]) |
||||
|
||||
gnome.generate_gir(girexe, |
||||
sources : libsources, |
||||
nsversion : '1.0', |
||||
namespace : 'Meson', |
||||
install : true, |
||||
install_dir : 'typelibdir', |
||||
) |
||||
|
||||
test('gobject introspection', girexe) |
@ -0,0 +1,7 @@ |
||||
myres = gnome.compile_resources('myresources', 'myresource.gresource.xml', |
||||
source_dir : 'data', |
||||
c_name : 'myres') |
||||
|
||||
resexe = executable('resprog', 'main.c', myres, |
||||
dependencies : gio) |
||||
test('resource test', resexe) |
@ -0,0 +1,8 @@ |
||||
|
||||
gnome.compile_schemas() |
||||
install_data('com.github.meson.gschema.xml', |
||||
install_dir : 'share/glib-2.0/schemas') |
||||
|
||||
schemaexe = executable('schemaprog', 'schemaprog.c', |
||||
dependencies : gio) |
||||
test('schema test', schemaexe) |
Loading…
Reference in new issue