Template for a multi platform CMake C++ project that includes:
- VSCode files -- no idea if this works
- Github Actions -- updated to use cmake presets
- Test suite using CTest
- Dockerfile
cmake --preset debug
cmake --build --preset debug
then run:
./ProjectFolder/build/debug/bin/cpp-cmake-template
ctest --preset default
To run tests in a Docker container:
docker compose down --volumes --rmi all
docker compose up