[wx-dev] Making a Mac PKG for wxWidgets
Anders F Björklund
afb at algonet.se
Thu Oct 12 06:19:13 PDT 2006
Stefan Csomor wrote:
>> Each framework is a bundle of a shared library and its
>> headers (and resources), so they do several frameworks ? For
>> instance:
>> SDL.framework/SDL_image.framework.
>
> just for easier searching : Apple's naming for this is "Umbrella
> Frameworks"
No, Umbrella frameworks are frameworks that contain several
sub-frameworks inside. The ones for SDL are two separate ones ?
/Library/Frameworks/SDL.framework
/Library/Frameworks/SDL_image.framework
But we *could* make a single wxWidgets.framework, and do all
multilib ones as one framework each - inside of the big one ?
/Library/Frameworks/wxWidgets.framework (this would be our "umbrella")
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_adv.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_core.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_gl.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_html.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/
wx_mac_media.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_qa.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_stc.framework
/Library/Frameworks/wxWidgets.framework/Frameworks/wx_mac_xrc.framework
Accessing the headers becomes somewhat more funny, though...
You would probably need a new <wxWidgets/wxWidgets.h> header,
that included the headers from the subframeworks or something ?
At least that is what <Carbon/Carbon.h> and <Cocoa/Cocoa.h> does.
I'm thinking "let's not even go there", better skip the framework
and just stick with the regular /usr/local hierarchy in that case ?
If we are going to do a framework, we might as well stick with
doing a monolithic one. Not sure about GL or e.g. STC just yet.
--anders
More information about the wx-dev
mailing list