Subject: Re: [Boost-build] Code coverage...
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-05-27 13:52:02
>> But Kenneth suggested a more elaborate method here:
>> Hope that helps,
> It's interesting to see how others have gone about integrating
> purify/bullseye coverage - but, as these tools instrument compiled
> binaries, whereas the likes of gcov require compile-time switches for a
> specific compiler... the technique doesn't look as if it will easily
> extend to my scenario.
> I'm genuinely surprised that gcov support doesn't appear to be present for
> 'out the box' bjam.
There may be a workaround though - you can use "cxxflags=-whatever" on the
command line to inject the needed compiler flags into the build, then build
and run the target you want. I can't see an easy way to automate calling
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