cmake -S . -B out
cmake --build out
# [Optional]
cmake --build out --target test
-
Build for userland
cd src make
-
Build for FreeBSD kernel module
cd src make -f ./Makefile.kern
-
Static linked with your sources
Headers reside in include/ dir. Sources reside in src/ dir.