I am creating boost unit test cases and I need to get the code coverage for the same. I am planning to use GCOV and LCOV for getting the code coverage. Can someone help me in getting the configuration in Jamfile for GCOV and LCOV integration with bjam?
Try this. Edit it according to your requirement.
unit-test MyTest : MyTest.cpp libraries : --std=gnu++0x --profile-arcs --test-coverage --coverage -lgcov shared : gcov ;