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.

Does CCSv5 predefine any preprocessor directives indicating the compiler's Debug or Optimization level?

As the subject line.  I would like my code to "know" if it was compiled as a debug or release build. 

(Obviously I could add my own predefined symbol to the debug build settings, but it would be useful if CCS does it automatically.)

Thanks.