Development dependencies

Building cmocka

# Starting from libcbor source directory
git submodule update test/cmocka
cd test
mkdir cmocka_build && cd cmocka_build
cmake ../cmocka
make -j 4
make install

Installing sphinx

pip install sphinx
pip install sphinx_rtd_theme
pip install
pip install sphinx-autobuild

Further instructions on configuring advanced features can be found at

Live preview of docs

cd doc
make livehtml

Testing and code coverage

Please refer to Tests