Code coverage on static library

baptiste_cbaptiste_c Posts: 1

I'm working with Parasoft C++test 9.5.
I have two projects:
-one to build a static library
-one to build a main program to be linked with the static library
I succeeded to do code coverage on the main program only, but I don't know how to do code coverage on the static library as well...
How should the static library be compiled to be able to perform code coverage on it?
Which compilation options are needed? I tired to prefix compilation with "cpptestcc -line-coverage" but it does not seem to work...
Best Regards,

Sign In or Register to comment.