To compile the library with scons, simple run scons in the source directory:
scons
To compile and run the tests
scons test
To compile the library with meson and ninja:
mkdir build
cd build
meson ..
ninja
Meson also supports other build backends.