README
A simple demo about using gmock to setup the development environment.
steps
-
Install gmock and gtest
a. clone the googletest and googlemock repo (they are in same repo now!!) b. In the common root of googletest and googlemock, execute below commands to build the lib.
cmake . make
c. Change settings about gmock and gtest home in this project's
Makefile
file. -
Enter to the
test
directory then executemake
command.