Swiftpack.co -  ThePotatoKing55/CGLFW3 as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A Swift package that links GLFW as a static library.
.package(url: "https://github.com/ThePotatoKing55/CGLFW3.git", from: "3.3.4")


Links the GLFW static library to your Swift Package.

This package can work on its own as a C library, but it was created as a base for the wrapper library SwiftGLFW.


Add to your Package.swift dependencies:

.package(url: "https://github.com/thepotatoking55/CGLFW3.git", .upToNextMajor(from: "3.3.4"))

In your main code:

import glfw3


I can't guarantee this will always be up-to-date with the latest version of GLFW, but you can replace the headers in Sources/CGLFW3/include/GLFW/ and the static library file at Sources/CGLFW3/lib/libglfw3.a. The macOS static library binaries can be downloaded from the GLFW website.


Stars: 0
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API