1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
subdir('xml')
private_headers = [
'gxr-config.h',
'gxr.h',
'gxr-version.h',
'gxr-backend-private.h',
'gxr-context-private.h',
'gxr-overlay-private.h',
'openvr-action.h',
'openvr-action-set.h',
'openvr-compositor.h',
'openvr-context.h',
'openvr-functions.h',
'openvr-math.h',
'openvr-model.h',
'openvr-overlay.h',
'openvr-system.h',
'openvr-wrapper.h',
'openxr-action.h',
'openxr-action-set.h',
'openxr-context.h',
'openxr-overlay.h'
]
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(gxr_datadir, 'gtk-doc', 'html')
gnome.gtkdoc('gxr',
main_xml: 'gxr-docs.xml',
src_dir: [
src_inc,
],
dependencies: [gxr_dep],
gobject_typesfile: 'gxr.types',
scan_args: [
'--rebuild-types',
#'--rebuild-sections',
'--ignore-headers=' + ' '.join(private_headers),
],
mkdb_args: [
'--default-include=gxr.h',
'--ignore-files=' + ' '.join(private_headers),
],
fixxref_args: [
'--html-dir=@0@'.format(docpath),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'graphene')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gulkan')),
],
# html_assets: html_images,
install: true,
)
|