In my code, I want to conditionally perform a few operations with:
#ifdef DEBUG NSLog(@\"I\'m in debug mode\"); #endif
I\'ve configured Pro
project -> settings -> c/c++ (or code generation?) look for a text box labeled Preprocessor Definitions and just add DEBUG to the end of the comment separated list.