Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 497 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 497 Bytes

swiftGLFWDemo

This demo show how to make glfw available to Swift by Swift Package Manager.

Installing dependencies

  1. The demo requires Swift 4.2 for the brand new system library targets feature. You must have Xcode 10 or the 4.2 toolchain installed and set as active.

  2. glfw3 and pkg-config must to be installed before building the example, or generating an Xcode project.

$ brew install glfw3 # macOS

Running the example

Call swift run to build and run the example