Skip to content
A simple build environment starting point for new projects with Googletest and Googlemock
C++ Python CMake Shell M4 Makefile C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeToolChain
install_tools
lib
src
test
.gitignore
CMakeLists.txt
README.md

README.md

GmockSetup

Starting point for a C++ Project with Gmock/Gtest for unit tests and Cmake for configuration.

Quickstart

git clone https://github.com/fullerth/GmockSetup.git
cd GmockSetup
mkdir build && cd build
cmake ..
make
ctest

Cross Compiling

Build this project with a cross compiler by passing the -DCMAKE_TOOLCHAIN_FILE option to Cmake. The example toolchain file shows my setup for a Raspberry Pi target.

You can’t perform that action at this time.