debug和degugrel差异在于优化编译方法不同, 一个是资源优化, 一个是代码优化,
英语原文如下:
Debug
This build target is configured to build output binaries that are fully debuggable, at the expense of optimization. Use if you plan to build separate Debug and Release<BR>versions of your code. This build target provides the best debug view while you are developing your code. It is also configured to output basic image information in an error and messages window.
Release
This build target is configured to build output binaries that are fully optimized, at the expense of debug information. Use it if you plan to build separate Debug and Release versions of your code. This build target outputs optimized code suitable for release.
DebugRel
This build target is configured to build output binaries that provide adequate optimization, and give an adequate view. Use it if you plan to build a version of your code for debug, and release the same code to reduce testing.