The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
571 B
33 lines
571 B
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, |
|
packages: 'gobject-2.0', |
|
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, |
|
)
|
|
|