aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks/7 gnome/gir/meson.build
blob: c5fce63b8b2d1f893d45c7670805998c435337cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
libsources = ['meson-sample.c', 'meson-sample.h']

girexe = executable(
  'girprog',
  sources : [libsources, 'prog.c'],
  dependencies : [glib, gobj, gir]
)

gnome.generate_gir(
  girexe,
  sources : libsources,
  nsversion : '1.0',
  namespace : 'Meson',
  symbol_prefix : 'meson_',
  identifier_prefix : 'Meson',
  includes : ['GObject-2.0'],
  install : true
)

test('gobject introspection', girexe)