第一步:安装GoogleTest
git clone https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake .. && make
参考:https://google.github.io/googletest/quickstart-cmake.html
ssh -t -v git@gitee.com
访问失败详细日志
git config --global user.name "kunlingou"
git config --global user.email "kunlingou@foxmail.com"
ssh-keygen -t rsa -C "kunlingou@foxmail.com"
git remote add origin git@gitee.c
cmake的使用教程
https://cmake.org/cmake/help/v3.22/command/add_executable.html?highlight=add_execuable