Example of the usage of google tests with CMake. USAGE In the project root: rm -rf build/ mkdir build cd build cmake .. make ctest