Installation¶
Layered file protocols is under heavy development, and is only available in source form. When the project matures, pre-compiled binaries will be provided.
Dependencies¶
Run time:
Build time:
C++11 compiler (tested on gcc, clang, and msvc)
cmake https://cmake.org/
Documentation:
Doxygen http://www.doxygen.nl/
From source with cmake¶
Layered file protocols is a cookie-cutter cmake project:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
cmake --build build --target install
To build with fmtlib in header-only mode, for when you do not want a shared
libfmt dependency, pass -DLFP_FMT_HEADER_ONLY=TRUE
to cmake when
configuring.
To build the documentation, you need doxygen, sphinx, and breathe. To have it
built automatically, pass -DBUILD_DOC=TRUE
to cmake. Sphinx is invoked
through python, and cmake looks for python2 first. If you only have sphinx for
python3 (and you should), help cmake find the correct python by invoking cmake
with -DPYTHON_EXECUTABLE=`which python3`