Re: [swift-dev] hmap files

2016-04-26 Thread Daniel Dunbar via swift-dev
Yes, you should avoid passing header map files. They should only be used when trying to integrate with existing Xcode projects, when invoking swiftc yourself you should use the simpler header search path options (-I, -F). - Daniel > On Apr 26, 2016, at 11:51 AM, Rafkind, Jon wrote: > > Well

Re: [swift-dev] hmap files

2016-04-26 Thread Rafkind, Jon via swift-dev
Well I'm wondering what to do with them since I am writing a program that directly invokes the swift compiler code. Meaning, I create a swift::Module*, call swift::parseIntoSourceFile, swift::performTypeChecking, etc. So far it doesn't seem that I need to pass along the hmap files to anything in th

Re: [swift-dev] hmap files

2016-04-26 Thread Daniel Dunbar via swift-dev
They are "header map" files and you are right they are very poorly documented. Xcode uses them to provide the compiler with a mapping of textual include names to actual file paths. What are you specifically looking into? - Daniel > On Apr 26, 2016, at 11:42 AM, Rafkind, Jon via swift-dev >

[swift-dev] hmap files

2016-04-26 Thread Rafkind, Jon via swift-dev
What are hmap files and how do they relate to the swift compilation process? It seems that they are a clang thing, but I can't find any documentation on them. ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-de