natemurthy / google-test-examples

Short example how to use GTest for Cmake project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Here the short sample how-to use Google C++ Test Framework in cmakeable projects

1. Google test will be downloaded from GitHub and built with your project

How to use:

1. git clone https://github.com/snikulov/google-test-examples.git
2. cd google-test-examples
3. mkdir build
4. cd build
5. cmake ..
6. cmake --build .
7. ctest -VV

About

Short example how to use GTest for Cmake project


Languages

Language:CMake 72.9%Language:C++ 27.1%