Skip to content

fvarose/cpp-base

Repository files navigation

Build Status Build status

cpp-base

Base repo setup for a C++ project.

Features

  • C++17 enabled
  • All warnings turned on and treated as errors
  • Catch2 for unit tests
  • CI integration for the following configs:
    • Travis CI
      • OSX / apple-clang-9.0.0
      • Ubuntu (Trusty) / g++-6
    • AppVeyor
      • Windows / Visual Studio 15 2017
  • Code formatting checked automatically with clang-format-7:
    • locally: trigerred as a separate test (requires Docker)
    • CI: "format" stage defined in Travis CI

Building locally

cd cpp-base
mkdir build && cd build
# OSX / Linux
cmake .. && cmake --build .
# Windows
cmake .. && cmake --build . --config Release

Run tests

cd cpp-base/build
ctest

About

Base repo setup for a C++ project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published