开发者

Configuration Names in a project file question?

开发者 https://www.devze.com 2023-02-10 02:53 出处:网络
Hello can 开发者_开发百科some please explain to me what are the differences between this configuration names in a project, are there difference in the build output?. Unfortunately I am only familliar

Hello can 开发者_开发百科some please explain to me what are the differences between this configuration names in a project, are there difference in the build output?. Unfortunately I am only familliar with the Debug and Release, so please any help would be appreciated Thanks

Debug|Win32,

Release|Win32, Release MinDependency|Win32, Release MinSize|Win32, Unicode Debug|Win32, Unicode Release MinDependency|Win32, Unicode Release MinSize|Win32


These are the kind of configuration names you get for an ATL project, back in the Visual Studio 6 days. The names hint at the selected settings:

  • MinDependency - embeds ATL in the final binary instead of relying on atl.dll
  • MinSize - uses the "Minimize size" optimizer option, instead of "Maximize speed"
  • Unicode - makes all strings utf-16, matching the operating system use.

This kind of fine-grained control doesn't make make sense anymore these days. Unicode should always be your choice, especially for ATL. You'll want to embed ATL, size is pretty irrelevant today. The optimizer setting is "Maximize speed" these days, /O2 in VS2008

0

精彩评论

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

关注公众号