Skip to content

benit8/Cpp-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published