Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to use purecov within Jamfile
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-01-25 05:08:43


On Friday 23 January 2009 17:27:50 Min Wang wrote:
> Is purecov like tool supported by boost build ? Can anyone tell me how ?
> It has been asked before but I don't see any solution was given yet.
>
> Thanks in advance.
>
> (In case you need to know.) purecov is a tool to instrument your code in
> this way :
> purecov cc -o yourcode.o yourcode.c
>
> So I need a way to prepend purecov before cc in Jamfile.

The simplest solution I can think of is to put this in your user-config.jam:

        using gcc : pureconv : "pureconv cc" ;

and then build with:

        bjam toolset=gcc-pureconv

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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