How to install Gtest On MacOS and Xcode(如何在MacOS上安装gtest以及XCode使用gtest)
How to install Gtest On MacOS git clone https://github.com/google/googletest.git cd googletest makedir build && cd build cmake -DCMAKE_CXX_STANDARD=17 .. make sudo make install ######test mkdir gtestDemo vi CMakeList.txt echo “export CPLUS_INCLUDE_PATH=/usr/local/include >> ~/.zshrc echo export
用户评论