A sample project illustrating how to perform unit testing with GoogleTest and CMake
mkdir build
cd build
cmake ..
make
cd build && make test
or
build/test/testfoo/testfoo
Refer to this blog post for a detailed explanation of how it works.
A sample project using GoogleTest with CMake
A sample project illustrating how to perform unit testing with GoogleTest and CMake
mkdir build
cd build
cmake ..
make
cd build && make test
or
build/test/testfoo/testfoo
Refer to this blog post for a detailed explanation of how it works.
A sample project using GoogleTest with CMake