mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-14 08:56:34 -05:00
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>
This commit is contained in:
parent
aa5502926f
commit
1a3ed2f430
2 changed files with 11 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue