Fork me on GitHub

Alex Rupérez

Published: 21 Feb 07:48
I starred compnerd/swift-win32 at GitHub.
WIndows Swift Sample
View on GitHub



This is a thin wrapper over the Win32 APIs for graphics on Windows to make it easier to write Windows applications in Swift.

This requires the latest (git) version of Swift (alternatively, you can use the nightlies from Additionally, you need the latest (git) version of CMake (from

Assuming you are building in S:, you can build with:

cmake -G Ninja S:/swift-win32
ninja SwiftWin32
ninja HelloSwift