Thanks,
One more question here,
1.Compile my program on computer A, source code location is c:\workspace\src1
2.Copy program on computer B, and run it with
So, on computer C, source code location must be same as compiling location, and option "--sources" can't resolve this problem, right?
One more question here,
1.Compile my program on computer A, source code location is c:\workspace\src1
2.Copy program on computer B, and run it with
OpenCppCoverage --export_type=binary:c:\test_data\data.cov -- PROGRAM
3.Copy data.cov on computer C, and check out source code on C, but location is c:\workspace\src2, use following command:OpenCppCoverage --sources=c:\workspace\src2 --input_coverage data.cov --export_type html:c:\my_report
In html report, it shows source file does not exist.So, on computer C, source code location must be same as compiling location, and option "--sources" can't resolve this problem, right?






