Development¶
Development dependencies¶
- CMocka (testing)
- Python and pip (Sphinx platform)
- Doxygen
- Sphinx (documentation)
- There are some Ruby scripts in
misc
- Valgrind (memory correctness & profiling)
- GCOV/LCOV (test coverage)
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 https://github.com/lepture/python-livereload/archive/master.zip
pip install sphinx-autobuild
Further instructions on configuring advanced features can be found at http://read-the-docs.readthedocs.org/en/latest/install.html.
Live preview of docs¶
cd doc
make livehtml