0

I am following Parasoft code coverage to run it on my source code : https://docs.parasoft.com/display/CPPTEST1040/Instrumenting+and+Building+Instrumented+Source+Code

I have defined CXX as an environment variable in my new conan profile.

[env]
CXX="cpptestcc -compiler gcc_5-64 -line-coverage -workspace /home/test/proj -- c++"

As I wanted to run the Parasoft code coverage on my Conan based project.

conan install . -pr=myprofile

enter image description here

conan build . 

enter image description here

The problem is that, I am not able to prepend the CXX compiler with parasoft code coverage. Running into CXX compiler broken as it is not taking the complete CXX as defined in the conan profile.

I have seen lot of links in stackoverflow related to this: How to prefix CMake Compiler?

Nothing works in my case. Please help me in defining the CXX with an executable prepended to CXX.

Thanks a lot.

Kevin
  • 16,549
  • 8
  • 60
  • 74
User001
  • 91
  • 8

0 Answers0