Vermithrax
Programmer
Hi there.
This is my first post, and I hope someone can help me with this... Basically, I have a project in Microsoft Visual Studio .NET 2003, and I need the program to know what configuration it's in... IE: When you choose DEBUG or RELEASE from the configuration manager, is there a way for the program to know which configuration it's in? I want to have the program change a variable based on which configuration I'm building... IE:
CString vConfig;
if ( configuration == "Debug" )
vConfig == "Debug";
else if ( configuration == "Custom" )
vConfig == "Custom";
else if ( configuration == "Release" )
vConfig == "Release";
else
vConfig == "Something else";
etc...
Of course, I have no idea how to do the configuration == "debug" or whatever thing, and that's what I need to know how to do. Any ideas?

CString vConfig;
if ( configuration == "Debug" )
vConfig == "Debug";
else if ( configuration == "Custom" )
vConfig == "Custom";
else if ( configuration == "Release" )
vConfig == "Release";
else
vConfig == "Something else";
etc...
Of course, I have no idea how to do the configuration == "debug" or whatever thing, and that's what I need to know how to do. Any ideas?
