A cookiecutter to setup all the default files I use in a c++ repo. This includes my clang setup, CMake, pre-commit, and a dockerfile for ubuntu development
See cookiecutter tool repo for how this works
Run the below command in a clean repo (it's all one line, just copy and paste the whole block into your terminal)
python3 -m virtualenv venv && \
. venv/bin/activate && \
pip install cookiecutter \
&& cookiecutter gh:ttibsi/cookiecutter-cpp \
&& deactivate && \
rm -rf venv && \
echo "Generation complete..."The following files are there for demonstration and can be removed:
src/add.cppsrc/add.htests/test_add.cpp