Installation#
Caterva can be built, tested and installed using CMake. The following procedure describes a typical CMake build.
Download the source code from Github:
git clone --recurse-submodules git@github.com:Blosc/caterva.git
git clone --recurse-submodules git@github.com:Blosc/caterva.git
Create the build directory inside the sources and move into it:
cd caterva mkdir build cd build
cd caterva mkdir build cd build
Now run CMake configuration:
cmake -DCMAKE_BUILD_TYPE='Debug/Release' ..
cmake ..
Build and test Caterva:
cmake --build . ctest
cmake --build . --config 'Debug/Release' ctest --build-config 'Debug/Release'
If desired, install Caterva:
cmake --build . --target install
cmake --build . --target install --config 'Debug/Release'
That’s all folks!