[swift-users] Importing C system libraries

Kelvin Ma kelvinsthirteen at gmail.com
Sun Mar 26 17:20:19 CDT 2017

Idk if this has been asked before, but is there a way to import C libraries
into a Swift project without creating a local git repo? Preferably
something similar to C where you can just `#include` headers and then
specify the link flags (in Package.swift?)

It’s getting very cumbersome to make a bunch of empty git repos just to use
libglfw or libcairo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170326/9e60f300/attachment.html>

More information about the swift-users mailing list