aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-24 11:44:02 -0500
committerDavid Robillard <d@drobilla.net>2022-11-24 11:44:02 -0500
commit88d6a4572aa136704881e4fdeeecf8bba03e49ea (patch)
treeeb290beb7439365a96a71213a784a20491056070
parentd979edba4cc9d04f930d6290bee9404016fcce10 (diff)
downloadpugl-88d6a4572aa136704881e4fdeeecf8bba03e49ea.tar.gz
pugl-88d6a4572aa136704881e4fdeeecf8bba03e49ea.tar.bz2
pugl-88d6a4572aa136704881e4fdeeecf8bba03e49ea.zip
Add docs_cpp configuration option and disable it by default
Doxygen is now giving parse errors in most places where @copydoc is used. Unfortunately, this setup for bindings with documentation is generally really flaky, and I probably need to figure something else out anyway.
-rw-r--r--doc/meson.build5
-rw-r--r--meson_options.txt3
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 511316d..66456b7 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -12,5 +12,8 @@ build_docs = doxygen.found() and sphinx_build.found()
if build_docs
subdir('_static')
subdir('c')
- subdir('cpp')
+
+ if not get_option('docs_cpp').disabled()
+ subdir('cpp')
+ endif
endif
diff --git a/meson_options.txt b/meson_options.txt
index 78856a7..641be76 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -7,6 +7,9 @@ option('examples', type: 'feature', value: 'auto', yield: true,
option('docs', type: 'feature', value: 'auto',
description: 'Build documentation')
+option('docs_cpp', type: 'feature', value: 'disabled',
+ description: 'Build C++ wrapper documentation')
+
option('opengl', type: 'feature', value: 'auto',
description : 'Enable support for the OpenGL graphics API')