diff options
author | Simon McVittie <smcv@collabora.com> | 2022-06-28 13:23:31 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-13 20:36:13 +0100 |
commit | 9215dbea53f629c53063053c72d592dc00cfd5fb (patch) | |
tree | 9acf55c6cc03855e6ffdbf32b195fee8b4fc4dd9 /meson_options.txt | |
parent | 64e490afe76706b64c8a4153bbc9a424e2b8f797 (diff) | |
download | dbus-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.txt | 7 |
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, |