Detailed guide on using gcov with CMake/CDash?
问题 I'm using CMake with my project and set up a cdash server for continuous/nightly building. Everything works well and by setting up a crontab, we have hourly/nightly build/test results uploaded to our cdash server automatically. My next step is to add test coverage report to the build. I find the document here http://www.cmake.org/Wiki/CTest:Coverage but frankly it's a bit far from a practical guide. Currently I've added the required flag (instead of -fprofile-arcs -ftest-coverage , I find -