meson: Add support for gcov

System Internals / PulseAudio - Arnaud Rebillout [collabora.com] - 8 June 2019 10:03 EDT

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

1a3ed2f43 meson: Add support for gcov
meson.build | 9 ++++++++-
meson_options.txt | 3 +++
2 files changed, 11 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share