This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6000 pre-processor: is it possible to selectively strip code?

Hello,

is it possible to use C6000 pre-processor or some other tool from CGT to remove portions of source code without actually solving all pre-processing statements?

For example:

#define MAX 3

int dummy = MAX;

#ifdef STRIPME

dummy++;

#endif

printf("%d", dummy);

I would like to obtain:

#define MAX 3

int dummy = MAX;

printf("%d", dummy);

Thanks

Regards

Stefano