This is a base CMake project with the basic configuration to build a cross-platform c++ application for Linux, OSX, and Windows x64. Triggers the CI to build and run the tests, and run coverage. Uses conan to install dependencies: Catch2 for testing, and fmt. Format with clang-format
- CMake > 3.24
- A C++23 compliant compiler
- Conan 2.x
| System | App | Status |
|---|---|---|
| Linux | GH Actions | |
| OSX | GH Actions | |
| Win x64 | GH Actions |
| System | App | Status |
|---|---|---|
| Coverage | codecov |
For codecov add public repository: Codecov Dashboard
Build in debug mode with tests:
mkdir build && cd build
cmake .. -DENABLE_TESTS=True -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=/abs/path/to/cmake/conan_provider.cmake -DCMAKE_BUILD_TYPE=Debug
cmake --build .ctest -V