[swift-build-dev] How to specify system header dependencies
Evan Maloney
emaloney at gilt.com
Mon Dec 14 10:15:16 CST 2015
Hello,
I have a project that has a dependency on the asl.h system header.
This header is present on all Apple platforms. When building with Xcode, this dependency is specified in the bridging header, allowing the C API provided by asl.h to be exposed to Swift.
As far as I can tell, there's no way to specify a bridging header using the Swift Package Manager or to otherwise specify a C API to expose to Swift.
Am I mistaken? Am I just missing something? Or is SPM only intended to be used to build something in "pure Swift"?
Thanks,
Evan
More information about the swift-build-dev
mailing list