请简单明了的解释一下在工程的设置中,
Win32 Release
Win32 Debug
Win32 Unicode Release
Win32 Unicode Debug
Win32 Release MFC Shared
Win32 Debug MFC Shared
Win32 Unicode Release MFC Shared
Win32 Unicode Debug MFC Shared
分别是什么意思?
Win32 Release
Win32 Debug
Win32 Unicode Release
Win32 Unicode Debug
Win32 Release MFC Shared
Win32 Debug MFC Shared
Win32 Unicode Release MFC Shared
Win32 Unicode Debug MFC Shared
分别是什么意思?
win32 release
VC默认提供的两种编译设置。
debug 包含调试信息
release 用于发布, 编译代码做了优化, 很难调试。剩余编译配置只是个人根据需要自己新建的, 你也可以自己添加一个编译配置。
Build->configurations, ADD, 就可以增加一个。Win32 Unicode Debug 按名称, 是采用_UNICODE宏编译出来, 程序里字符串是UNICODE编码,其字符串处理函数等用的都UNICODE版本。
...
Debug 编译调试版
Unicode 使用双字节码,每个字符用两个字节表示。
MFC Shared 动态连接mfc,程序运行环境中必须要存在 mfc*.dll 等文件
某些情况下需要使用Unicode才能和某些系统组件兼容
Shared可以减小程序大小,但是需要外在的MFC动态库