This repository contains an example of use of Cmake and GoogleMock for a C++ file. It is mostly for personal use.
mkdir build
cd build
cmake ..
make
make test
ctest
make Test_coverage
I copied upon many, more documented examples found on StackOverflow and:
- This simple example, but with less hard-coded things
- This very full and elaborate example, but working on OSX