benit8 / Cpp-Template

C++ template project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project

C++ template project

Includes:

  • CMake lists
  • Command-line option parser
  • General purpose lexing base class
  • Basic logging
  • Unit tests, with Criterion

Untemplatize the project headers

Edit the do script at the root of the project and set the project_name variable. Then run

./do init

This will replace the project name and set the year in all file headers.

Build

./do

or

./do build

Run

./do run

Arguments after run will get passed to the binary.

Tests

This project includes unit tests, run them with

./do test

Authors

About

C++ template project


Languages

Language:C++ 88.6%Language:Shell 6.2%Language:CMake 5.2%