Install pre-commit hooks
pip install pre-commit
pip install clang-format
pre-commit install
# verify
pre-commit run --all-files
Build
mkdir build && cd build
cmake ..
make
Run tests
./cpp-template-tests
Run benchmarks
./cpp-template-benchmarks
to
- https://github.com/dtrussel/cpp_project_template
- https://github.com/TheLartians/ModernCppStarter
for the inspiration.