开发者

Debug and Release configurations

开发者 https://www.devze.com 2023-01-21 14:01 出处:网络
As we all know, in Visual Studio there are t开发者_运维问答wo predefined configurations - Debug and Release. I have been using them since I started programming and soon learnt their differences. Howev

As we all know, in Visual Studio there are t开发者_运维问答wo 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消