Skip to content
/ CGLFW3 Public
forked from SwiftGL/CGLFW3

Swift C bindings for GLFW v3 (Generic)

License

Notifications You must be signed in to change notification settings

tam4s/CGLFW3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift C bindings for GLFW v3

[GLFW home page] (http://www.glfw.org)

This is a package for the open source Swift. Usage:

  • Install GLFW version 3.
  • Include dependency in your Package.swift:
let package = Package(
    dependencies: [
        .Package(url: "https://github.com/SwiftGL/CGLFW3.git", majorVersion: 2)
    ]
)

MacOS:

brew install --HEAD glfw3

swift build -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib

Ubuntu:

sudo apt install libglfw3

swift build

About

Swift C bindings for GLFW v3 (Generic)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 63.6%
  • C 36.4%