随笔分类 - gtest
摘要:1)gtest编译 mkdir build && cd build cmake .. -DBUILD_GMOCK=OFF -DCMAKE_BUILD_TYPE=Debug make && make install 2)测试代码debug编译 cmake -S . -B build -DCMAKE_B
阅读全文
摘要:参考官网:https://google.github.io/googletest/quickstart-cmake.html 【流程】 1)CMakeLists.txt cmake_minimum_required(VERSION 3.14) project(my_project) # Google
阅读全文

浙公网安备 33010602011771号