We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3252

Summary: Clang Module maps
Product: SDL Reporter: C.W. Betts <computers57>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: computers57
Version: HG 2.1   
Hardware: x86_64   
OS: Mac OS X 10.8   
Attachments: Mac OS X framework module map
Linux/OS X library module
Linux/OS X library module, v2
module map diff

Description C.W. Betts 2016-02-02 01:33:04 UTC
Created attachment 2370 [details]
Mac OS X framework module map

The following are module maps that can be used by Swift to help with importing.

The commented out sections are due to Mac OS X not having OpenGL ES headers.
Comment 1 C.W. Betts 2016-02-02 01:41:06 UTC
Created attachment 2371 [details]
Linux/OS X library module

This is a library module that can be used by Linux and Mac OS X built as a library.

It could be set so that the include path is set by the configure/CMake script instead of being hard-coded.
Comment 2 C.W. Betts 2016-02-02 02:02:46 UTC
Created attachment 2373 [details]
Linux/OS X library module, v2

This is a library module that can be used by Linux and Mac OS X built as a library.

It could be set so that the include path is set by the configure/CMake script instead of being hard-coded.
Comment 3 C.W. Betts 2016-02-06 20:33:50 UTC
Created attachment 2377 [details]
module map diff

Actual patch that adds the module map file to the build phase.