8000 GitHub - chengyakun11/swift-win32: A Win32 application framework for Swift
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chengyakun11/swift-win32

 
 

Repository files navigation

Swift/Win32 - A Swift Application Framework for Windows

Swift/Win32 Screenshot

Swift/Win32 aims to provide a MVC model for writing applications on Windows. It provides Swift friendly wrapping of the Win32 APIs much like MFC did for C++.

Build Requirements

  • Swift 5.3 or newer
  • Windows SDK 10.0.107763 or newer
  • CMake 3.16 or newer

Building

This requires the latest Swift snapshot. You can use the the snapshot binaries from swift.org or download the nightly build from Azure.

The following example session shows how to build with CMake 3.16 or newer.

cmake -B build -D BUILD_SHARED_LIBS=YES -D CMAKE_BUILD_TYPE=Release -D CMAKE_Swift_FLAGS="-sdk %SDKROOT%" -G Ninja -S .
ninja -C build SwiftWin32 UICatalog

%CD%\build\bin\UICatalog.exe

About

A Win32 application framework for Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 90.7%
  • C 4.7%
  • CMake 3.6%
  • C++ 1.0%
0