2023-11-29 11:26:37 +01:00
|
|
|
if get_option('documentation') and enable_gir
|
2023-10-10 00:04:21 +02:00
|
|
|
gidocgen_dep = dependency('gi-docgen', version: '>= 2023.1',
|
|
|
|
fallback: ['gi-docgen', 'dummy_dep'],
|
|
|
|
required: true)
|
|
|
|
|
|
|
|
toml_conf = configuration_data()
|
|
|
|
toml_conf.set('VERSION', meson.project_version())
|
|
|
|
|
|
|
|
gidocgen = find_program('gi-docgen', required: true)
|
|
|
|
|
|
|
|
gidocgen_common_args = [
|
|
|
|
'--quiet',
|
|
|
|
'--no-namespace-dir',
|
|
|
|
'--fatal-warnings',
|
|
|
|
]
|
|
|
|
|
|
|
|
subdir('glib')
|
|
|
|
subdir('gmodule')
|
|
|
|
subdir('gobject')
|
|
|
|
subdir('gio')
|
2023-11-09 00:16:43 +01:00
|
|
|
subdir('girepository')
|
2023-10-10 00:04:21 +02:00
|
|
|
endif
|