apt install libgtest-dev -y. 套件會安裝在 /usr/src/gtest 目錄下 cd /usr/src/gtest. 透過cmake 進行建置設定,產生makefile cmake CMakeLists.txt. 最後進行建置
確定! 回上一頁