Skip to content
Snippets Groups Projects
Commit 0c9d6e82 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

meson: add option to disable gobject introspection

Fixes #1
parent f2ac3cc6
No related branches found
No related tags found
No related merge requests found
......@@ -48,13 +48,15 @@ wp_lib = library('wireplumber-' + wireplumber_api_version,
version: meson.project_version(),
)
gnome.generate_gir(wp_lib,
namespace: 'Wp',
nsversion: wireplumber_api_version,
sources: [wp_lib_sources, wp_lib_headers],
includes: ['GLib-2.0', 'GObject-2.0'],
install: true,
)
if get_option('introspection')
gnome.generate_gir(wp_lib,
namespace: 'Wp',
nsversion: wireplumber_api_version,
sources: [wp_lib_sources, wp_lib_headers],
includes: ['GLib-2.0', 'GObject-2.0'],
install: true,
)
endif
wp_dep = declare_dependency(
link_with: wp_lib,
......
option('introspection', type : 'boolean', value : true)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment