Apologies if this is a stupid question, but when using VisualGDB (in this case with VS 2008), where do you define preprocessor definitions? I have tried under the normal VS project settings, where there is a Preprocessor Definitions section. This appears to only be applied to the InitelliSense.
I intend to have several different build targets (e.g. Debug, Release). In my cpp code, the #ifdef DEBUG works in the UI (as in the intellisense greys-out the correct portions of the code). This define does not appear to be applied to the built binary (the code nested in the #ifdef DEBUG is not executed). Do I need to add a -DDEBUG in some other settings window?
Regards.