~calebccff/cpp-template

Template for a C++ meson project
0a9b10bc — Caleb Connolly 2 years ago
fix typo
8b8bc0af — Caleb Connolly 2 years ago
initial commit

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~calebccff/cpp-template
read/write
git@git.sr.ht:~calebccff/cpp-template

You can also use your local clone with git send-email.

#A C++ Template project

This repo is a template for a basic meson C++ project, if you want to create a new C++ project and not have to mess about with pulling the meson.build from your old one, or setting up basic CI, this is for you.

#Usage

curl https://git.sr.ht/~calebccff/cpp-template/blob/main/init.sh | bash -s -- <remote> <project>

Example:

curl https://git.sr.ht/~calebccff/cpp-template/blob/main/init.sh | bash -s -- https://git.sr.ht/~calebccff cnes

This will create a new folder with the name of your project as a fresh local git repo with all files unstaged. You can then make any adjustments you want before creating an initial commit with:

git add .
git commit -m "Initial commit"