Skip to content

NewProggie/Cpp-Project-Template

Repository files navigation

Cpp-Project-Template

Build Status

Creating a (large scaling) C++ project from scratch can be cumbersome. The purpose of this project is to provide a bootstrap project layout which makes this task more easy. This includes:

  • CMake build system
  • Googletest C++ Testing which has no external dependencies and builds inside the project
  • LCOV Code Coverage Report using -fprofile-arcs and -ftest-coverage compiler features
  • Doxygen code documentation generation
  • Preconfigured Jenkins CI, production ready from the start
  • Travis configuration for CI in case one doesn't want to use Jenkins CI
  • Vagrant Box with automagically configured Jenkins CI

Logo Jenkins Doxygen Coverage

Prerequisites

This project requires:

  • Cross-platform Make (CMake) v2.8+
  • GNU Make or equivalent
  • GCC or an alternative, reasonably conformant C++ compiler
  • Boost C++ Libraries v1.55+ [HEADERS and LIBRARIES]

Building

This project uses the CMake build system. However, there exists wrapper configure script together with a Makefile so that the typical build invocation of ./configure followed by make will work.

Acknowledgments