ericniebler/range-v3 — pull request #33 by gnzlbg (2014-08-28 16:22:14+00:00)
Title: Add make cov target: generates code coverage report

Adds the target "make cov" which generates an html report of unit-test coverage.
The CMake option -DRANGE_V3_ANALYZE_COVERAGE=On enables the target in Debug builds.
This uses clang --coverage and lcov under the hood to generate the report.

Note that the reported coverage percentages are with respect to the generated code (e.g. template classes and functions that have not been instantiated are neglected!). To get more accurate results one should explicitly instantiate everything on the tests (which is helpful to check that everything compiles anyways).