Skip to content

enscogitans/cmake-gtest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake-gtest-example

Example C++ project that uses CMake and GoogleTest

# build project
mkdir build && cd build
cmake ..
cmake --build .

# run tests
ctest . 

# or run gtest directly
./test/unit_test

# run main function
./example

About

Example C++ project that uses CMake and GoogleTest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published