The API documentation is generated using Doxygen, and can be found here.
- Protobuf 3.1+
- LZ4 1.8+
Standard CMake practices apply, so make sure you have CMake installed. Create
a build directory (e.g. cpp-proio/build), and cd
into it. Then, run cmake
on
the directory with CMakeLists.txt
(this directory).
mkdir cpp-proio/build
cd cpp-proio/build
cmake ../
make
make test
sudo make install
If you need to point CMake to dependencies in non-standard locations, please
set the
CMAKE_PREFIX_PATH
variable. For example, if you build and install the required Protobuf and LZ4
libraries into subdirectories of /opt
, your cmake
command might look like
the following:
cmake \
-DCMAKE_PREFIX_PATH="/opt/protobuf;/opt/lz4" \
-DCMAKE_INSTALL_PREFIX=/opt/proio \
../
The following installs to the default installation prefix.
git clone https://github.com/lz4/lz4.git && cd lz4
make cmake
sudo cmake --build contrib/cmake_unofficial/. -- install