Meson: Group all glib tests into a single dict
[glib.git] / gio / tests / gdbus-object-manager-example / meson.build
blob90dcc1f932a3e865e35f56dadba0f9316182a08a
1 # FIXME: set UNINSTALLED_GLIB_{SRC|BUILD}DIR=top_{src|build}dir ?
2 gdbus_example_objectmanager_generated = custom_target('gdbus-example-objectmanager-generated',
3   input  : ['gdbus-example-objectmanager.xml'],
4   output : ['gdbus-example-objectmanager-generated.h',
5             'gdbus-example-objectmanager-generated.c',
6             'gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml',
7             'gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml'],
8   command : [python, gdbus_codegen,
9              '--interface-prefix', 'org.gtk.GDBus.Example.ObjectManager.',
10              '--c-namespace', 'Example',
11              '--c-generate-object-manager',
12              '--output-directory', '@OUTDIR@',
13              '--generate-c-code', 'gdbus-example-objectmanager-generated',
14              '--generate-docbook', 'gdbus-example-objectmanager-generated',
15              '@INPUT@'])
17 libgdbus_example_objectmanager = library('libgdbus-example-objectmanager',
18     gdbus_example_objectmanager_generated,
19     c_args : gio_c_args,
20     dependencies : [libglib_dep, libgmodule_dep, libgobject_dep, libgio_dep],
21     install : false)
23 libgdbus_example_objectmanager_dep = declare_dependency(sources : gdbus_example_objectmanager_generated,
24   link_with : libgdbus_example_objectmanager)