Debian Codegraph @

vendored-meson/meson/test cases/vala/11 generated vapi/libbar/meson.build

raw
1 libbar_sources = [
2 'bar.c',
3 'bar.h',
4 ]
5
6 libbar_deps = [
7 dependency('gobject-2.0'),
8 libfoo_dep,
9 ]
10
11 libbar = shared_library('bar', libbar_sources,
12 dependencies: libbar_deps,
13 install: true,
14 )
15
16 libbar_api_ver = '1.0'
17
18 libbar_gir = gnome.generate_gir(libbar,
19 sources: libbar_sources,
20 namespace: 'Bar',
21 nsversion: libbar_api_ver,
22 symbol_prefix: 'bar',
23 extra_args: [
24 '--c-include=bar.h',
25 ],
26 )
27
28 libbar_vapi = gnome.generate_vapi('bar-' + libbar_api_ver,
29 sources: libbar_gir[0],
30 packages: libfoo_vapi,
31 install: true,
32 )