Skip to content
Vojtech Horky edited this page Jun 13, 2014 · 4 revisions

How to compile and install PCUT

PCUT uses CMake and thus the compilation shall work easily across platforms.

The recommended way to build PCUT is to do an out-of-source build, such as:

mkdir build && cd build
cmake .. && make all

PCUT contains several tests that check that the library works as expected. They can be executed through CMake as well, just run:

make test

or equivalent after building the library.

Using PCUT in your project

If you are using CMake, you may find the FindPCUT.cmake useful for automatically configuration. Otherwise, just add PCUT include directory and PCUT library to your project and you are ready to go.

Clone this wiki locally