Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 776 Bytes

install.rst

File metadata and controls

37 lines (28 loc) · 776 Bytes

Requirements

  • C++14
  • Boost >= 1.62

Build a Project using RedGrapes

RedGrapes is a C++ header-only library so you only need to set the include path. If you are using CMake, the following is sufficient:

find_package(redGrapes REQUIRED CONFIG PATHS "[path to redGrapes]")
include_directories(SYSTEM ${redGrapes_INCLUDE_DIRS})

Examples & Tests

In order to build the examples and tests, do the typical cmake procedure:

mkdir build
cd build
cmake ..
make -j

Enable Tests with

cmake .. -DBUILD_TESTING=ON

Set Loglevel

cmake .. -DCMAKE_CXX_FLAGS="-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_OFF"

Enable Tracing with Perfetto

cmake .. -DredGrapes_ENABLE_PERFETTO=ON