Are there #defines for conditional compilation based on the build configurations?

As of now I am doing them manually in a header file of my own, which is painful. I will try to find a better way once I have more time to investigate.