diff options
author | Arnaud Rebillout <arnaud.rebillout@collabora.com> | 2018-11-28 20:43:53 +0700 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2019-06-08 12:03:03 +0200 |
commit | 1a3ed2f430669dea3d0978ce3acbcceb443c7447 (patch) | |
tree | 176ae11e0ce1211b436cddf3fa500eb7c55bac1d /meson_options.txt | |
parent | aa5502926fdb1d1b45f7cb0ed8570d90f84532eb (diff) | |
download | pulseaudio-1a3ed2f430669dea3d0978ce3acbcceb443c7447.tar.gz |
meson: Add support for gcov
Unlike autotools, we use the option --coverage, which is a synonym for
-profile-arcs and -ftest-coverage (when compiling) and -lgcov (when
linking).
For reference, see:
https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#Instrumentation-Options
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 8a2663ceb..5e79ffb9a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,3 +1,6 @@ +option('gcov', + type : 'boolean', + description : 'Enable optional gcov coverage analysis') option('man', type : 'boolean', description : 'Enable building and installation of man pages') |