1
0
Fork 0
mutter-performance-source/doc/reference/cogl/meson.build
Bilal Elmoussaoui c01ffdb8ba cogl/gir: Depend explicitly on Mtk
As it is used now for MtkRegion types making the GIR file not containing
the relevant dependency and not being able to resolve MtkRegion type

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3292>
2023-11-03 11:27:52 +00:00

26 lines
609 B
Meson

cogl_toml = configure_file(
input: 'cogl.toml.in',
output: 'cogl.toml',
configuration: toml_conf,
install: true,
install_dir: docs_dir / 'cogl',
)
custom_target('cogl-doc',
input: [ cogl_toml, libmutter_cogl_gir[0] ],
output: 'cogl',
command: [
gidocgen,
'generate',
gidocgen_common_args,
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../mtk/mtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT1@',
],
build_by_default: true,
install: true,
install_dir: docs_dir,
)