feat: windows build instructions

This commit is contained in:
2025-10-01 09:13:02 +02:00
parent 9b18f8a902
commit 8f21c8d141

25
WINDOWS.md Normal file
View File

@ -0,0 +1,25 @@
# Setup VCPKG
```console
git clone https://github.com/microsoft/vcpkg C:\vcpkg
C:\vcpkg\bootstrap-vcpkg.bat
# install deps for 64-bit Windows
C:\vcpkg\vcpkg install sdl3 glew glm --triplet x64-windows
```
# Configure
```console
cmake -S . -B build `
-G "Visual Studio 17 2022" -A x64 `
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake `
-DVCPKG_TARGET_TRIPLET=x64-windows `
-DCMAKE_BUILD_TYPE=Debug
```
# Build
```console
cmake --build build --config Debug
```