[CMake] CTest w/ Coverage

Daniel Stonier d.stonier at gmail.com
Sun Apr 12 23:20:10 EDT 2009


Sorry, forgot to forward this to the list as well.

2009/4/13 Daniel Stonier <d.stonier at gmail.com>:
> Just a last piece of information, the guys at ccache have just added a
> patch which fixes ccache...well, its more of a hack. Just tells ccache
> to avoid cacheing anything with a -fprofile flag.
>
> On my gentoo machine the stable ccache didn't have this yet, but
> ebuild ccache-2.4-r8 works fine with it. I added a note on the
> CTest::Coverage wiki page about it.
>
> And yes, I agree! It really wasn't obvious that was all you needed to
> do. I just took a guess at it and ended with the structure I had
> above, which now works and is a really simple starter.
>
> Good luck with it!
>
> 2009/4/13 Ian Monroe <ian.monroe at gmail.com>:
>> On Sun, Apr 12, 2009 at 10:06 PM, Daniel Stonier <d.stonier at gmail.com> wrote:
>>> Ian, are you using ccache?
>>
>> No I just really didn't know where to start. Its not obvious from the
>> wiki that just setting the correct gcc flags triggers a coverage test.
>> :) I'll try out what Alex says tomorrow and edit the wiki accordingly.
>>
>> Ian
>>
>


More information about the CMake mailing list