sbepp
Loading...
Searching...
No Matches
Installation

CMake

Use classic CMake approach:

mkdir build
cd build
cmake ..
cmake --build .
cmake --install .

After the build/installation, there'll be 2 CMake targets: sbepp::sbeppc and sbepp::sbepp, check out the Integration section to see how they can be used.

sbepp is a C++11 header-only library which depends only on the STL.

sbeppc requires C++17. It depends on:

Available CMake options (name = default_value):

  • SBEPP_BUILD_SBEPPC = ON, controls whether sbeppc should be built
  • SBEPP_DEV_MODE = OFF, enables developer mode.
  • SBEPP_BUILD_BENCHMARK = OFF, requires SBEPP_DEV_MODE=ON, controls whether benchmarks should be built. If ON, requires benchmark
  • SBEPP_BUILD_TESTS = OFF, requires SBEPP_DEV_MODE=ON, controls whether tests should be built. If ON, requires googletest and fmt
  • SBEPP_BUILD_DOCS = OFF, controls whether documentation should be built. If ON requires Doxygen

There's a conanfile.txt which can be used to simplify dependency management.

Conan package

Now available in ConanCenter. Use with_sbeppc Conan option to enable/disable sbeppc building (defaults to True).