summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-28 13:23:31 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit9215dbea53f629c53063053c72d592dc00cfd5fb (patch)
tree9acf55c6cc03855e6ffdbf32b195fee8b4fc4dd9 /meson_options.txt
parent64e490afe76706b64c8a4153bbc9a424e2b8f797 (diff)
downloaddbus-9215dbea53f629c53063053c72d592dc00cfd5fb.tar.gz
meson: Allow disabling Valgrind instrumentation
This would currently result in a hard dependency on Valgrind headers when linking dependent projects to libdbus (see https://github.com/mesonbuild/meson/pull/10544 for an attempt to avoid this), so distributions likely don't want to enable this feature in their main builds of valgrind (although they could enable it in special debug builds like the one in Debian's dbus-tests package if desired). Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 4babdd65..770082ea 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -265,6 +265,13 @@ option(
)
option(
+ 'valgrind',
+ type: 'feature',
+ value: 'disabled',
+ description: 'Build with Valgrind instrumentation (note that this currently adds a hard dependency on valgrind)'
+)
+
+option(
'verbose_mode',
type: 'boolean',
value: false,