sudo apt install cmake
git clone https://github.com/google/benchmark.git
git clone https://github.com/google/googletest.git benchmark/googletest
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
make -j4
google benchmark安装
最新推荐文章于 2025-04-16 16:08:15 发布