https://github.com/matteodelseppia/cmake-catch2-cpp-project-template
https://github.com/matteodelseppia/cmake-catch2-cpp-project-template
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/matteodelseppia/cmake-catch2-cpp-project-template
- Owner: matteodelseppia
- Created: 2024-04-07T13:13:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-30T07:36:48.000Z (about 1 year ago)
- Last Synced: 2025-01-11T21:11:56.512Z (5 months ago)
- Language: CMake
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template for C++ 17 projects with CMake >= 3.5 and Catch2 v3
To test that everything is okay, clone the project, then step into the directory and execute
```bash
cmake -Bbuild -DBUILD_TESTS=ON
cd build
make
make test
```A single test called **sum_test** should run and pass. If this does not work, there are probably issues with the Catch2 dependency.