# gtest-cmake-example **Repository Path**: XMatrixXiang/gtest-cmake-example ## Basic Information - **Project Name**: gtest-cmake-example - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-14 - **Last Updated**: 2024-10-14 ## 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 explanation of how it works.