2021-02-10 13:41:53 +00:00
|
|
|
toml_conf = configuration_data()
|
|
|
|
toml_conf.set('version', meson.project_version())
|
|
|
|
|
2022-12-20 03:54:30 +00:00
|
|
|
gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'), native: true)
|
2021-02-10 13:41:53 +00:00
|
|
|
|
2021-11-01 13:00:51 +00:00
|
|
|
gidocgen_common_args = [
|
|
|
|
'--quiet',
|
|
|
|
'--no-namespace-dir',
|
|
|
|
]
|
|
|
|
|
|
|
|
if get_option('werror')
|
|
|
|
gidocgen_common_args += ['--fatal-warnings']
|
|
|
|
endif
|
|
|
|
|
2021-04-07 13:57:31 +00:00
|
|
|
docs_dir = gtk_datadir / 'doc'
|
2021-03-12 11:13:54 +00:00
|
|
|
|
2021-08-29 00:47:34 +00:00
|
|
|
if get_option('gtk_doc') and not build_gir
|
|
|
|
error('API reference requires introspection.')
|
|
|
|
endif
|
|
|
|
|
2017-04-19 10:35:45 +00:00
|
|
|
subdir('gdk')
|
|
|
|
subdir('gsk')
|
|
|
|
subdir('gtk')
|