Skip to content

cookiecutter template to bootstrap my c++ repo layout

Notifications You must be signed in to change notification settings

Ttibsi/cookiecutter-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cookiecutter-cpp

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

How to use

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.cpp
  • src/add.h
  • tests/test_add.cpp

About

cookiecutter template to bootstrap my c++ repo layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published