steinwurf / gtest

Waf build scripts for Google C++ Testing Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Linux make-specs Windows make-specs MacOS make-specs Linux CMake Windows CMake MacOS CMake Raspberry Pi Valgrind No Assertions Clang Format Cppcheck

We use the Google C++ Testing Framework to test most of our libraries.

We use Waf to compile gtest for various platforms. We provide the Waf and wscript files needed to build the gtest library.

Dependencies

  1. Git: A usable git client installed (see the "Set Up Git" guide at the github help pages)
  2. Python: To use Waf you need to install Python (2.7 or newer).
  3. C++14 compiler: This can be g++, clang or msvc.

Usage

Clone this repository to a suitable folder:

Download the source from github by cloning the repository. Issue this command in your terminal:

git clone git://github.com/steinwurf/gtest.git

Configure and build the project:

cd gtest
python waf configure
python waf build

Run the unit tests:

python waf --run_tests

About

Waf build scripts for Google C++ Testing Framework


Languages

Language:C++ 74.6%Language:Python 13.6%Language:CMake 11.8%