aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/doc/api/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp/doc/api/meson.build')
-rw-r--r--bindings/cpp/doc/api/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/bindings/cpp/doc/api/meson.build b/bindings/cpp/doc/api/meson.build
new file mode 100644
index 00000000..7a3ea903
--- /dev/null
+++ b/bindings/cpp/doc/api/meson.build
@@ -0,0 +1,14 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+cpp_serd_rst = custom_target(
+ 'Serd C++ API ReST Documentation',
+ command: [
+ sphinxygen,
+ '-l', 'cpp',
+ '-f', '@INPUT0@',
+ meson.current_build_dir(),
+ ],
+ input: [cpp_index_xml] + cpp_rst_files,
+ output: 'serd.rst',
+)