Tooling
How to generate the full coverage report
Requires gcovr program and gcc toolchain.
- Build with
F3D_COVERAGEoption enabled. - Run all tests,
xdotoolneeds to be installed. This will generate many.gcdafiles. - Generate the report with:
gcovr -r /path/to/sources --html --html-details -o coverage.html.
How to build and test with sanitizer
Requires clang toolchain.
- Build with
F3D_SANITIZERoption to any of the possible values. export LSAN_OPTIONS=suppressions=/path/to/f3d/.lsan.supp:use_tls=0.export TSAN_OPTIONS=suppressions=/path/to/f3d/.tsan.supp.- Run all tests.
How to locally generate the Jekyll based website
- Install
rubyand make sure ruby binaries directory is added to yourPATH - Install Jekyll and all dependencies:
gem install jekyll jekyll-remote-theme jekyll-relative-links jekyll-seo-tag jekyll-optional-front-matter jekyll-titles-from-headings jekyll-include-cache - Run Jekyll locally:
jekyll server - Open http://127.0.0.1:4000/ in a browser
Please note the favicon and search bar are not working locally, this is expected.
How to locally generate the doxygen documentation
- Install Python, pip and doxygen
pip install sphinx sphinx-book-theme exhalesphinx-build -M html ./library/doxygen /path/to/build/path/to/builddirectory now contains a HTML website