gcovr,尽管提供了完整的参数列表,但生成空报告?
命令:gcovr -r /home/<username>/Projects/ --object-directory <Path to Build Directory>
结果:
------------------------------------------------------------------------------
GCC Code Coverage Report
Directory: /home/<username>/Projects/
------------------------------------------------------------------------------
File Lines Exec Cover Missing
------------------------------------------------------------------------------
------------------------------------------------------------------------------
TOTAL 0 0 --%
------------------------------------------------------------------------------