mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-03-11 19:46:38 +00:00
Merge branch 'master' into 'master'
meson: add option introspection See merge request GNOME/libsecret!53
This commit is contained in:
commit
54d9b7dc5b
@ -104,6 +104,7 @@ libsecret_dep = declare_dependency(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# GObject Introspection
|
# GObject Introspection
|
||||||
|
if with_gir
|
||||||
libsecret_gir_sources = [
|
libsecret_gir_sources = [
|
||||||
'secret-attributes.c',
|
'secret-attributes.c',
|
||||||
'secret-attributes.h',
|
'secret-attributes.h',
|
||||||
@ -145,9 +146,10 @@ libsecret_gir = gnome.generate_gir(libsecret,
|
|||||||
extra_args: [ '-D SECRET_COMPILATION'],
|
extra_args: [ '-D SECRET_COMPILATION'],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
# Vapi
|
# Vapi
|
||||||
if with_vapi
|
if with_vapi and with_gir
|
||||||
libsecret_vapi = gnome.generate_vapi('libsecret-@0@'.format(api_version_major),
|
libsecret_vapi = gnome.generate_vapi('libsecret-@0@'.format(api_version_major),
|
||||||
sources: libsecret_gir[0],
|
sources: libsecret_gir[0],
|
||||||
metadata_dirs: meson.source_root() / 'libsecret',
|
metadata_dirs: meson.source_root() / 'libsecret',
|
||||||
|
@ -22,6 +22,7 @@ with_gcrypt = get_option('gcrypt')
|
|||||||
enable_debug = get_option('debugging')
|
enable_debug = get_option('debugging')
|
||||||
with_vapi = get_option('vapi')
|
with_vapi = get_option('vapi')
|
||||||
with_gtkdoc = get_option('gtk_doc')
|
with_gtkdoc = get_option('gtk_doc')
|
||||||
|
with_gir = get_option('introspection')
|
||||||
|
|
||||||
# Some variables
|
# Some variables
|
||||||
config_h_dir = include_directories('.')
|
config_h_dir = include_directories('.')
|
||||||
|
@ -3,3 +3,4 @@ option('gcrypt', type: 'boolean', value: true, description: 'With gcrypt and tra
|
|||||||
option('debugging', type: 'boolean', value: false, description: 'Turn debugging on/off')
|
option('debugging', type: 'boolean', value: false, description: 'Turn debugging on/off')
|
||||||
option('vapi', type: 'boolean', value: true, description: 'Create VAPI file.')
|
option('vapi', type: 'boolean', value: true, description: 'Create VAPI file.')
|
||||||
option('gtk_doc', type: 'boolean', value: true, description: 'Build reference documentation using gtk-doc')
|
option('gtk_doc', type: 'boolean', value: true, description: 'Build reference documentation using gtk-doc')
|
||||||
|
option('introspection', type: 'boolean', value: true, description: 'Create GIR file.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user