Skip to content

Instantly share code, notes, and snippets.

@alifahrri
Created September 30, 2018 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alifahrri/2cb87abab6f5f52917184c8793553385 to your computer and use it in GitHub Desktop.
Save alifahrri/2cb87abab6f5f52917184c8793553385 to your computer and use it in GitHub Desktop.
Install GTest
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