[wx-dev] Making a Mac PKG for wxWidgets

Anders F Björklund afb at algonet.se
Thu Oct 12 05:44:46 PDT 2006


Vadim Zeitlin wrote:

> AFB> But you only need to do the FlatHeaders thing if you decide to 
> name it
> AFB> "wxWidgets.framework" or something (i.e. instead of just 
> wx.framework)
>
>  So let's not do it.

But it does look _sooo shiny_ (wxWidgets.framework), doesn't it ? :-)

> AFB> But I don't really recommend it, I think most people would like 
> to keep
> AFB> <GL/gl.h> and <wx/wx.h> ? (instead of them changing to 
> <OpenGL/gl.h>
> AFB> and <wxWidgets/wx.h>, for their Mac OS X builds only)
>
>  Absolutely.

Or, we could just put the "wx" directory inside the Headers directory, 
and
add a -I/Library/Frameworks/wxWidgets.framework/Headers to the search 
path ?

There is also a -F/Library/Frameworks flag, matching the usual -L one...
(so that you can swap "/Library/Frameworks" above, for something exotic)

Here I was kinda implying that wx-config should add those, as it sees 
fit.

>  How does it work for the other frameworks?

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.

We could also do one wx.framework, one wxGL.framework, one 
wxSTC.framework etc...

--anders





More information about the wx-dev mailing list