I have a Visual Studio solution with this architecture:
core.libapi.dll(importscore.lib, no actual code)tests.exe(importscore.lib)
I'm running OpenCppCoverage from the root of the solution with:
C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --source core\** --export_type cobertura:coverage_result\coverage.xml -- .\x64\Debug\tests.exe
My tests only cover some of the source code in core.lib , some files are not covered by any tests.
Those untouched files are not present in the report, only files with some coverage (more than 0%) show up.
How can I make it so that all source files show up in the coverage report?