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'],
|
2024-03-05 14:39:21 +01:00
|
|
|
native: true,
|
2023-10-10 00:04:21 +02:00
|
|
|
required: true)
|
|
|
|
|
|
|
|
toml_conf = configuration_data()
|
|
|
|
toml_conf.set('VERSION', meson.project_version())
|
|
|
|
|
2024-03-05 14:39:21 +01:00
|
|
|
gidocgen = find_program('gi-docgen', native: true, required: true)
|
2023-10-10 00:04:21 +02:00
|
|
|
|
|
|
|
gidocgen_common_args = [
|
|
|
|
'--quiet',
|
|
|
|
'--no-namespace-dir',
|
|
|
|
'--fatal-warnings',
|
2024-02-02 11:54:07 +01:00
|
|
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../girepository/introspection'),
|
2023-10-10 00:04:21 +02:00
|
|
|
]
|
|
|
|
endif
|
2024-01-11 16:39:51 +01:00
|
|
|
|
2024-03-13 17:46:06 +01:00
|
|
|
docs_dir = glib_datadir / 'doc'
|
2024-03-05 17:45:21 +01:00
|
|
|
|
2024-01-11 16:39:51 +01:00
|
|
|
subdir('glib')
|
|
|
|
subdir('gmodule')
|
|
|
|
subdir('gobject')
|
|
|
|
subdir('gio')
|
|
|
|
subdir('girepository')
|