summaryrefslogtreecommitdiffstats
path: root/test cases/vala/11 generated vapi/libbar/meson.build
blob: 0bf7d5c3cffd6f14b70e3f416f96cc6e04a6a78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
libbar_sources = [
  'bar.c',
  'bar.h',
]

libbar_deps = [
  dependency('gobject-2.0'),
  libfoo_dep,
]

libbar = shared_library('bar', libbar_sources,
  dependencies: libbar_deps,
  install: true,
)

libbar_api_ver = '1.0'

libbar_gir = gnome.generate_gir(libbar,
  sources: libbar_sources,
  namespace: 'Bar',
  nsversion: libbar_api_ver,
  symbol_prefix: 'bar',
  extra_args: [
    '--c-include=bar.h',
  ],
)

libbar_vapi = gnome.generate_vapi('bar-' + libbar_api_ver,
  sources: libbar_gir[0],
  packages: libfoo_vapi,
  install: true,
)