cmake-3.24.1+googletest-release-1.12.1+vs2019配置
1、下载cmake-3.24.1
官网链接:https://cmake.org/download/
2、下载googletest
git仓库:https://github.com/google/googletest/tree/release-1.12.1
3、编译googletest
(1)我的下载目录在d:\googletest
(2)新建目录d:\googletest\build
(3)编译:
-
在cmake-gui中选择:
-
点击configure,出现配置界面(如果不出现配置界面先点击file-delete cache):
-
点击finish,cmake自动执行编译,结果如下: