[wx-dev] Supporting MacOS X frameworks

Anders F Björklund afb at algonet.se
Wed Jan 31 05:12:06 PST 2007


Vadim Zeitlin wrote:

> AFB> And as a bonus, the same shared .framework can be used for 
> development
> AFB> since it also contains the Headers. (unlike RPM/DEB/etc, which 
> has one
> AFB> libs and one devel)
>
>  It's just a question of conventions. You can perfectly well make an
> RPM/DEB including both the libraries and headers, it's just that nobody
> does it as normal users don't need the headers.

Yeah, just as normal users only run one arch. But Mac OS X is a little
different in that it offers both/all in the same .framework package...
(i.e. both arch in one Universal Binary, and packages for both runtime
and development in one Framework - it's a little bloated but convenient)

Like you said, it's only a question of conventions and of traditions.
At least it doesn't link directly to the source dirs, like Windows :-)

> AFB> Probably a Framework target for the Xcode projects too, as 
> mentioned
> AFB> earlier ?
>
>  If (and that's a big "if") Xcode projects are going to be generated by
> bakefile one of these days, this could be more difficult.

Hmm, I understood from Stefan that using Xcode was preferred for wxMac ?
But that would explain why the wx projects in 2.8.0 were out-of-date...
i.e. I opened up src/wxWindows.xcodeproj and it said "2.6" and referred
to some old pb-setup.sh build script that was missing from the tarball.

Guess I have some digging to do, with the Makefiles and with Xcode 2.
(Haven't switched from wx 2.6 to 2.8 yet, but am slowly getting there)

--anders





More information about the wx-dev mailing list