Installation
Build from Source
CMake
CMake 3.24 or higher is required.The default installation directory is /usr/local.
To specify a different directory, add -DCMAKE_INSTALL_PREFIX=/path/to/install/dir to the CMake invocation in step 4.
- Clone the repository:
git clone https://github.com/wissem01chiha/npio
- Configure the build:
cmake -B build -DCMAKE_INSTALL_PREFIX=~/build/install
- Build and install:
ninja install
Meson
Meson >= 1.10.0 is required. For more information, refer to Quick-guide
meson setup builddir
cd builddir
meson compile
Then install the library using:
meson install
Bazel
Bazel is not yet supported. Please use cmake or meson instead.
Testing
CMake
Meson
To run project tests:
meson test
Bazel
Bazel tests are not yet supported. Use cmake or meson to run tests