aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/7 gnome/gir/dep1/dep2/meson.build
blob: 4004f22d6d4d35a43ef323671884038de334ab2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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])