Installation
From conda-forge
The recommended way to install evalhyd-cpp
is to use a conda
-like
package manager 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
:
$ mamba create -n evalhyd-env -f environment.yml
$ mamba activate evalhyd-env
Then, the steps below can be followed:
$ cmake -B build/ -D CMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH="${CONDA_PREFIX}"
$ cmake --build build/ --parallel
$ ./build/tests/evalhyd_tests
$ cmake --install build/ --prefix <path>