# Copyright 2020-2023 David Robillard # SPDX-License-Identifier: 0BSD OR ISC config = configuration_data() config.set('SRATOM_SRCDIR', sratom_src_root) config.set('DOX_OUTPUT', meson.current_build_dir() / '..') doxyfile = configure_file( configuration: config, input: files('../Doxyfile.in'), output: 'Doxyfile', ) doxygen_xml = custom_target( 'index.xml', command: [doxygen, '@INPUT0@'], input: [doxyfile] + c_headers, output: [ 'index.xml', 'group__sratom.xml', 'sratom_8h.xml', ], )