摘要:
1.添加include到 vc包含路径 D:\github\WinClient\gtest\include 2.添加lib到 vc库路径 D:\github\WinClient\gtest\lib\win32d 3.添加gtestd.lib到 连接器-输入 4.添加预处理命令:_VARIADIC_MAX=10; 5.C++运行库改成:MTD或者MT #include "gtest\gtest.h"int main(int argc,char* argv[]){ testing::InitGoogleTest(&argc,argv); return RUN_ALL_T 阅读全文
posted @ 2013-05-01 15:07
fripSide
阅读(230)
评论(0)
推荐(0)
浙公网安备 33010602011771号