Created
September 30, 2018 07:09
-
-
Save alifahrri/2cb87abab6f5f52917184c8793553385 to your computer and use it in GitHub Desktop.
Install GTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install cmake libgtest-dev | |
cd /usr/src/gtest | |
sudo cmake CMakeLists.txt | |
sudo make | |
# copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder | |
sudo cp *.a /usr/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment