$ cat docs/guides/windows.md
# building on Windows
Windows is the primary development platform for OpenEngine.
Prerequisites
- Visual Studio 2019 or 2022 with the Desktop development with C++ workload
- .NET 9.0 SDK
- Git
Generate Build Files
bash
# Visual Studio 2022 (recommended)
cmake -B build -G "Visual Studio 17 2022" -A x64
# Visual Studio 2019
cmake -B build -G "Visual Studio 16 2019" -A x64This generates a .sln file in the build/ directory. You can open it in Visual Studio or build from the command line.
Build
bash
cmake --build build --config Debug
cmake --build build --config ReleaseRun
bash
.\build\bin\Debug\OpenEngine.exeThe executable runs integration tests then enters the main loop.
Batch Building
Use the provided scripts:
bash
# Command Prompt
build.bat
# PowerShell
.\build.ps1CI Build
bash
cmake -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config Release --parallelNext Steps
- Set up C# Scripting for game logic
- Try the Development Workflow