Download the latest_ (1.7.0) from Google Code (Q: where is it going to live, once GCode shuts down?)
Then follow the primer_, but more to the point, the README (YMMV) Having installed CLion and cmake, this is how I built gtest:
brew install cmake cd gtest-1.7.0