A hello world example for googletest framework. Project is created according to this awsome tutorial.
Clone the source code
git clone https://github.com/alhasanmridha/googletest-example.git
googletest libray is added as git submodule. To get googletest source
git submodule init
git submodule update
Now run cmake command to build
cmake -H. -Bbuild
cmake --build build
To see the output
./build/test/GoogleTestExample_tst