A template for C++ projects with tests
Find a file Use this template
2025-06-08 00:21:41 +02:00
src init 2025-06-08 00:21:41 +02:00
test init 2025-06-08 00:21:41 +02:00
.gitignore init 2025-06-08 00:21:41 +02:00
.gitmodules init 2025-06-08 00:21:41 +02:00
CMakeLists.txt init 2025-06-08 00:21:41 +02:00
README.md init 2025-06-08 00:21:41 +02:00

C++ Template with tests

A CMake template with C++20 and Catch2


Setup

Under test/Catch2 run the following commands:

$ cmake -B build -S . -DBUILD_TESTING=OFF
$ sudo cmake --build build/ --target install