How to use PARASOFT_CPPTEST macro in C/C++test Standard

Andrey MadanAndrey Madan Posts: 386 ✭✭✭

By default the -DPARASOFT_CPPTEST is added in the project settings in Professional. But where is it defined in Standard Edition where there is no concept of eclipse project files? Here is the answer (thank you @Bogdan Czwartkowski for getting that info)!

  1. Create a file called extras.psrc (name is arbitrary)
  2. add the following line to that file:

codewizard.preprocessorExtraOption -DPARASOFT_CPPTEST

  1. Refer to the file using cpptestcli (standard) -psrc option:
    cpptestcli -psrc extras.psrc
Sign In or Register to comment.