Boost logo

Boost-Build :

Subject: [Boost-build] Code coverage...
From: Steve (sjh_boost_at_[hidden])
Date: 2012-05-19 15:46:12


I'm trying to establish how to use Bjam to manage builds of a large,
complex C++ project. I'm targeting multiple platforms and multiple
compilers... there's a strong OO architecture and extensive unit tests.
I would like to establish code coverage for the classes covered by unit
tests.

At the moment, I'm looking at using gcov/lcov with the GCC test suite to
generate coverage data. I'd be equally happy to use any
freely-available tools.

I'd like to know if Bjam has support for this 'out-the-box' (I can't
find it documented) - and would welcome any pointer to an example
configuration script from which I could draw inspiration. Is Bjam
typically used to generate coverage analysis?


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk