[swift-users] Need to provide compiler switch
Volodymyr Boichentsov
sakristx at gmail.com
Mon Jan 4 13:12:03 CST 2016
I got work around with including some header to module map.
example here
COpenGL.swift <https://github.com/sakrist/COpenGL.swift>
and here
CX11.swift <https://github.com/sakrist/CX11.swift>
in documentation found config_macros
on clang/llvm <http://clang.llvm.org/docs/Modules.html#module-maps> website, but did not get it work
Best Regards,
Volodymyr Boichentsov
> On 4 Jan 2016, at 17:21, Daniel Dunbar via swift-users <swift-users at swift.org> wrote:
>
> This isn't something we support yet.
>
> Can you elaborate on the exact situation? Are you trying to use a system module and need to set some compiler define?
>
> - Daniel
>
>> On Dec 30, 2015, at 4:13 AM, Ralph Ganszky via swift-users <swift-users at swift.org> wrote:
>>
>> Hi,
>>
>> I try to get some Swift code running, which uses a C-Library, but need therefore an option send to the compiler. Where do I put this instruction? I searched in the Package Manager and also in the module map documentation, but could not find anything.
>>
>> Could someone here knows a solution ?
>>
>> Kind regards
>> Ralph
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160104/d3cdea91/attachment.html>
More information about the swift-users
mailing list