mkdir build && cd build
cmake ..
make && make test
Template also includes Github Action Workflow that runs the tests.
This template contains simple pre-commit hook that runs clang-format
, cpplint
and ctest
.
To enable simply run configure script:
./configure.sh
apt install doxygen graphviz
pip install -r requirements.txt
cd docs/sphinx && make build-docs
Template includes GitHub action that deploys buit docs to the repository page. (See Settings->Pages
for reference).
You can see the docs page here: https://pbudzyns.github.io/cpp_tests_and_docs_template