0
点赞
收藏
分享

微信扫一扫

visual studio 2012 知识笔记

梦幻之云 2022-02-27 阅读 73

一、生成exe方法

1.版本选择:2012 express,打上update 2补丁 2.进入项目属性菜单,从下拉框中选择release; 3.在项目属性中,在general下,platform toolset选择vs2012 windows xp;

4.linker>debugging,generate debug info选择否;

5.linker>general,enable incremental linking 选择否

6.c/c++,runtime library选/MT

二、使用gtest进行c++ 单元测试 从下面链接下载vs2012编译好的文件 ​,解压后,直接点击“onecppeachday.sln”,就可以直接使用了,BasicTest.cpp是测试类。 ​​​​

举报

相关推荐

0 条评论