[CMake] Coverage

Bill Hoffman bill.hoffman at kitware.com
Fri Apr 4 08:14:29 EDT 2008


Cedric Pinson wrote:
> I already use the flag and i have the file generated .gcno .gcda but 
> here the location
> ./CMakeFiles/TestAnimationMesh.dir/__/__/src/AnimationMesh.gcno
> ./CMakeFiles/TestAnimationMesh.dir/__/__/src/AnimationMesh.gcda
> ./CMakeFiles/TestAnimationMesh.dir/test_read.gcda
> ./CMakeFiles/TestAnimationMesh.dir/test_read.gcno
> 
> so i would like know if there is helper to manage that or if i need to 
> add a script that find *.gcno and do a gcov ... on the result
> 

Nope, ctest should find them when it check for coverage results.

-Bill


More information about the CMake mailing list