Installation

From conda-forge

The recommended way to install evalhyd-cpp is to use a conda-like package manager and the conda-forge channel:

Install using mamba and the conda-forge channel
$ mamba install -c conda-forge libevalhyd

From source

To build evalhyd-cpp from source, cmake can be used.

Tip

It is recommended that the dependencies are installed using mamba:

Install the dependencies in a new environment
$ mamba create -n evalhyd-env -f environment.yml
Activate the environment
$ mamba activate evalhyd-env

Then, the steps below can be followed:

Configure the CMake project
$ cmake -B build/ -D CMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH="${CONDA_PREFIX}"
Build the CMake project
$ cmake --build build/ --parallel
Test the library
$ ./build/tests/evalhyd_tests
Install the library
$ cmake --install build/ --prefix <path>