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.

How to set pre-processor variables? e.g. -DSVNVERSION

I'd like to run the program svnversion and have its output set as a preprocessor define. For example, when using gcc and Linux I might put this in my makefile:

CFLAGS+=-DSVNVERSION="\"`svnversion`\""

How do I accomplish this same task using CCS5?