/cmake-template

C++ ⨯ GTest/Catch2/Doctest ⨯ GCC/Clang/MSVC ⨯ CMake ⨯ Conan/Vcpkg ⨯ Linux/macOS/Windows

Primary LanguageCMakeMIT LicenseMIT

README

Travis Build Status AppVeyor Build Status codecov License

How to build and test

Linux workflow

mkdir build && cd build
conan install -b missing -s compiler.libcxx=libstdc++11 ..
cmake ..
make
ctest -V

Project structure

Requirements

  • CMake
  • Git
  • Python
  • GoogleTest
  • Valgrind (optional)
  • Clang-Tidy (optional)
  • Clang-Format (optional)
  • Doxygen (optional)
  • Graphviz (optional)
  • PlantUML (optional)

Supported platforms

  • Linux
  • Windows
  • macOS

Supported compilers

  • GCC 8
  • Clang 7
  • MSVC 19.20
  • Apple Clang 10.0.1