[CMake] Nice handling of code coverage option?
Verweij, Arjen
VerweijA at tass-safe.com
Thu Mar 25 09:56:57 EDT 2010
Hi Brad,
>-----Original Message-----
>From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
>Of Brad Hards
>Do you have something else?
Not really, but I don't build debug either (no -g). I don't know about an iron clad way to prevent cmake from optimizing anything, so I just use verbose makefiles and log the build output. The default for gcc is -O0, so if the log is spotless (i.e. no "-O") I assume I'm in the clear. I think you can use "--coverage" for both building and linking btw. But no matter, you've already typed it out :)
Regards,
Arjen
More information about the CMake
mailing list