Detailed guide on using gcov with CMake/CDash?

前端 未结 4 2052
后悔当初
后悔当初 2020-12-02 07:50

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/t

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 08:33

    I use gcovr to make a GCC Code Coverage Report without the CodeCoverage.cmake :

    $ cd /path/to/your/project
    $ mkdir build && cd build && cmake ..
    $ make && make test
    $ gcovr -r ../ .
    

提交回复
热议问题