I have a cross-platform shared library, and I am using GNU autotools for the build system. I would like to be able to package the library as a framework on OS X. Is it possible to do this with autotools + additional scripting e.g. bash?
Is there any good documentation for doing this, or does anyone know an example of a project that does this, which I could copy?
A framework is a glorified directory that includes a metadata file (Info.plist) and one or more libraries. I’m not sure if there’s autotools support for frameworks but something like:
should be enough given a properly defined Info.plist file and mylibrary.dylib.
For more information about the framework directory structure and the contents of Info.plist, see the Framework Programming Guide.