Demonstrates how to build a sdl2 project with vcpkg and cmake. Should theoritically work in windows. The sdl files import statically. Just not with docker but the docker files as a reference.
VSCode, Docker,Docker compose, and the Remote-Containers plugin
- Bring up containers
docker-compose up -d
- Reopen in container
f1 Remote-container: Reopen in Container
- From the command palette in VS Code, run the
CMake: Configure
command. - From the command palette in VS Code, run the CMake: Build command
- run with
./build/main
or use the debugger