Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 learnt their differences. However recently I had to create my own configurations and now I have a question: Are those two configurations defined/determined solely by their parameters/options from "project options" page? Or does the microsoft compiler treat them in a special way?

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

Hope my question is clear.

like image 398
Armen Tsirunyan Avatar asked Oct 19 '10 18:10

Armen Tsirunyan


1 Answers

Are those two configurations defined/determined solely by their parameters/options from "project options" page?

Yes.

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

Yes it will.

For instance, the debug configuration defines _DEBUG, the release configuration enables optimisations, etc.

like image 80
KeatsPeeks Avatar answered Sep 30 '22 14:09

KeatsPeeks