Debian Codegraph @

test cases/frameworks/34 gir static lib/meson.build

raw
1 project('gobject-introspection-static-helper', 'c')
2
3 gir = find_program('g-ir-scanner', required: false)
4 if not gir.found()
5 error('MESON_SKIP_TEST g-ir-scanner not found.')
6 endif
7
8 gobject_introspection = dependency('gobject-introspection-1.0')
9 # This won't work without https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/72
10 if gobject_introspection.version().version_compare('< 1.58.1')
11 error('MESON_SKIP_TEST gobject-introspection is too old to support static libraries')
12 endif
13
14 gnome = import('gnome')
15 gobj = dependency('gobject-2.0')
16
17 subdir('statichelper')
18 subdir('subdir/gir')