This is a template for your new C++ project. It's a good starting point for a tool or proof of concept. Download and start hacking.
wget -O - https://github.com/evpo/cpp-project-template/archive/master.tar.gz | tar xzvf -
mv cpp-project-template-master hello_world
cd hello_world
git init .
git add -A
git commit -m "initial commit"
You can also use this script to automate creation of new projects.
- Help and command line parameters
- Simple to understand makefile build
- CLI front-end and a back-end library
- Diagnostic logging
- Unit tests
- Multiplatform: Linux, Windows, macOS
- Almost no dependencies
Build:
make
Release:
make RELEASE=on
Verbose:
make VERBOSE=on
Clean:
make clean
Tests:
make tests
CLI:
./bin/debug/cpp-project
Unit tests:
./bin/debug/cpp-project-tests
Linux
macOS
Mingw
C++11 g++ or clang
Creative Commons BSD License