summaryrefslogtreecommitdiffstats
path: root/doc/c/xml
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-11 02:45:04 +0100
committerDavid Robillard <d@drobilla.net>2021-03-16 19:06:31 -0400
commit2f2fac062817a6cca82078fc6dcc6401fca3e292 (patch)
tree60eb33ae3d070e487a29b017a713d1b05edf83c7 /doc/c/xml
parentc46452c83d442de137fa6470ba544e3ba142e923 (diff)
downloadsratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.gz
sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.bz2
sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.zip
WIP: Switch to Meson
Diffstat (limited to 'doc/c/xml')
-rw-r--r--doc/c/xml/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/c/xml/meson.build b/doc/c/xml/meson.build
new file mode 100644
index 0000000..fdb55cc
--- /dev/null
+++ b/doc/c/xml/meson.build
@@ -0,0 +1,19 @@
+doxygen = find_program('doxygen')
+
+c_doxygen_input = []
+foreach h : c_headers
+ c_doxygen_input += ['..' / h]
+endforeach
+
+config = configuration_data()
+config.set('SRATOM_SRCDIR', sratom_src_root)
+config.set('DOX_OUTPUT', meson.current_build_dir() / '..')
+
+c_doxyfile = configure_file(configuration: config,
+ input: '../Doxyfile.in',
+ output: 'Doxyfile')
+
+c_index_xml = custom_target('sratom-c-index.xml',
+ command: [doxygen, '@INPUT0@'],
+ input: [c_doxyfile] + c_header_files,
+ output: 'index.xml')