916 B
916 B
Building Instructions
plasp
requires a C++14 compiler (preferrably GCC ≥ 6.1 or clang ≥ 3.8), the boost
libraries (≥ 1.55), and CMake for building.
$ git clone https://github.com/potassco/plasp.git
$ cd plasp
$ mkdir -p build/release
$ cd build/release
$ cmake ../.. -DCMAKE_BUILD_TYPE=Release
$ make
The built plasp
binary is then located at plasp/build/release/bin/plasp
.
To update plasp
to the most recent version, perform the following steps:
$ cd plasp
$ git pull
$ cd build/release
$ cmake .
$ make
Running the Tests
plasp
provides unit tests written using the Google Test framework.
Before building and running the tests, make sure you have fetched the Google Test git submodule:
$ git submodule init
$ git submodule update
Afterward, build and run the tests as follows:
$ make run-tests