diff options
Diffstat (limited to 'meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build')
-rw-r--r-- | meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build b/meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build new file mode 100644 index 000000000..4004f22d6 --- /dev/null +++ b/meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build @@ -0,0 +1,22 @@ +dep2sources = ['dep2.c', 'dep2.h'] + +dep2lib = shared_library( + 'dep2lib', + sources : dep2sources, + dependencies : gobj, + install : true +) + +dep2gir = gnome.generate_gir( + dep2lib, + sources : dep2sources, + nsversion : '1.0', + namespace : 'MesonDep2', + symbol_prefix : 'meson', + identifier_prefix : 'Meson', + includes : ['GObject-2.0'], + install : true +) + +dep2_dep = declare_dependency(link_with : dep2lib, + sources : [dep2gir]) |