Skip to content

A sample project using GoogleTest with CMake

Notifications You must be signed in to change notification settings

glanois/gtest-cmake-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 explaination of how it works.

About

A sample project using GoogleTest with CMake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.1%
  • CMake 48.9%