# gtest-cmake-example-1 **Repository Path**: joqson/gtest-cmake-example-1 ## Basic Information - **Project Name**: gtest-cmake-example-1 - **Description**: A sample project using GoogleTest with CMake - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-12-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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](http://kaizou.org/2014/11/gtest-cmake/) for a detailed explaination of how it works.