- MSVC (native)
- MinGW cross-compile
Requirements
- Visual Studio 2019 or later (any edition, including Build Tools)
- CMake >= 3.13
- Ninja (bundled with Visual Studio, or install separately)
- A pre-built OpenSSL distribution for Windows (e.g. from Shining Light or vcpkg)
Opening a developer prompt
All CMake commands must be run inside a Visual Studio Developer Command Prompt, or from a standardcmd/PowerShell session that has already sourced vcvarsall.bat:Build
1
Clone the repository
2
Configure with CMake
3
Compile and install
CI preload configuration
The repository shipsci/cmake-preloads/config-windows.txt with recommended Windows settings: