[swift-evolution] [swift-build-dev] [Review] SE-0038 Package Manager C Language Target Support

Max Howell max.howell at apple.com
Thu Feb 18 15:53:59 CST 2016


> As an example, one of those dependents is "zmq" (30K+ downloads/month) which provides Node.js bindings for ZeroMQ. This provides a Node.js wrapper around the zeromq library (installable via homebrew, apt-get etc). The NPM approach is that at install/build time, the binding.gyp file can be configured to check for the presence of the library, and to add the necessary include and link flags. 

System libraries are handled by our System Module Map Package system which is separate to this proposal.

C targets under this proposal cannot directly depend on system libraries (though they could depend on a system-library-module-map-package).

The module-map package situation is not great at this time, but we will shortly have another proposal that seeks to improve that, I suggest watching out for that proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160218/5ed2950f/attachment.html>


More information about the swift-evolution mailing list