Debug and Release Configurations

As we all know, in Visual Studio there are two predefined configurations - Debug and Release. I have been using them since I started programming, and soon I recognized their differences. However, recently I had to create my own configurations, and now I have a question: are these two configurations defined by their specific parameters / parameters on the Project Settings page? Or does the microsoft compiler treat them in a special way?

My question is, if I create a new configuration and copy all the settings from Debug or Release, will my new configuration be equivalent to the predefined Debug / Release or not completely?

Hope my question is clear.

+5
source share
1 answer

Are these two configurations specific / defined exclusively by their parameters / parameters from the project Options "

Yes.

if I create a new configuration and copy all the settings from Debug or Release, will my new configuration be equivalent to the predefined Debug / Release?

Yes it will.

For example, a debug configuration defines _DEBUG, exhaust configuration includes optimizing, etc.

+6
source

All Articles