This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
TL;DR: To generate coverage data in CMake: enable CTest, enable debug, build and link all relevant targets with --coverage , then run ctest --test-dir build -T Coverage . Use gcov or lcov to generate a CLI or HTML coverage report respectively.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.