dacorvo / gtest-cmake-example

A sample project using GoogleTest with CMake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A sample project illustrating how to perform unit testing with GoogleTest and CMake

Building

mkdir build
cd build
cmake ..
make

Running

cd build && make test

or

build/test/testfoo/testfoo

Refer to this blog post for a detailed explanation of how it works.

About

A sample project using GoogleTest with CMake


Languages

Language:CMake 54.9%Language:C++ 45.1%