cmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/install
make -C build installNote: if you got an error on
find_packageduring cmake configuration, make sure that you provided paths to the installed dependencies (for example, viaCMAKE_PREFIX_PATHenvironment variable)
This repository provides Nix flake, so once you have installed Nix with flake support, you can use single command to fetch all the dependencies and build:
nix build ?submodules=1#To activate Nix development environment:
nix developTo run all tests:
nix flake check -L ?submodules=1#To build/develop/test with local crypto3 version, add an argument --override-input nil-crypto3 /path/to/local/crypto3 to any of the above commands.