[swift-build-dev] How to specify system header dependencies
emaloney at gilt.com
Tue Dec 15 01:48:14 CST 2015
> On Dec 15, 2015, at 1:58 AM, Daniel Dunbar <daniel_dunbar at apple.com> wrote:
> Currently we could use help with screening and triaging the bugs in the Package Manager component on bugs.swift.org <http://bugs.swift.org/>, and then trying to either get fixes for them (if they are just bugs), or trying to sort out what the overarching problems are and how to address them.
I'll start taking a look.
>> In particular I'd be interested in looking at adding iOS, tvOS and watchOS support, as I've noticed there doesn't seem to be a way to specify a platform other than OS X, which is built by default.
> Are you talking about apps for those platforms, or just being able to build libraries targeting them that could then be integrated into apps?
I'm just talking about libraries.
> Tackling just being able to build libraries targeting those platforms should be more tractable though. There are a varies things we will need for that. In no particular order:
> 1. A design for the command line workflow for specify the deployment platform.
I suppose both platform and architecture are required if we expect to be able to build libraries that can run in a simulator.
> 2. An implementation of the internal platform specific configuration "stuff" (i.e., how are we going to organize platform specific code in swiftpm itself).
> 3. A design for how we would add platform specific attributes for targets. There is a straw man included in the Swift based manifest proposal (https://github.com/apple/swift-package-manager/blob/master/Documentation/Internals/SwiftBasedManifestFormat.md <https://github.com/apple/swift-package-manager/blob/master/Documentation/Internals/SwiftBasedManifestFormat.md>) for declaring conditional dependencies. I'm not sure how quickly we would need this to do useful things.
Plenty to dig into. Thanks for this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-build-dev