Skip to content
Guido Kanschat edited this page Dec 28, 2020 · 1 revision

TPCC Setup

Requirements

TPCC is written according to the C++ 17 standard. It is tested regularly with g++ and clang++. Other compilers may work as well.

Installation

TPCC is a header-only library. This means that you can simply download it from Github and put the contents of the include directory somewhere where your compiler finds it.

CMake

If you want to make sure that it compiles on your computer, you can use CMake to compile and run the tests. To this order, let $SOURCE be the root of your TPCC directory and $BUILD be the path of the build directory which you must create beforehand. Then, run

cd $BUILD
cmake $SOURCE
make
make test

Documentation

The project is documented inline with doxygen. Afer CMake configuration, generate the documentation locally with

make doxygen

IDE

You can use QT Creator or any other IDE which reads CMake configuration files to edit TPCC and run the tests.

Clone this wiki locally