[wx-dev] Creating a MacOS X Framework
Anders F Björklund
afb at algonet.se
Tue Mar 6 03:08:22 PST 2007
Etienne Samson wrote:
>> Let's say it needs to be recompiled _for_ OS X, not necessarily on.
>> Theoretically, you can cross-compile for OS X e.g. on Linux or
>> Windows,
>> using gcc (I don't know of anybody doing this in practice, though).
> Right, but never tried too... It's right that the big problem with
> Xcode (and xcodebuild) is that it only exists on OSX...
Then again Carbon and Cocoa frameworks only exist on Mac OS X anyway ?
That's the main problem with the proprietary software, you know... :-)
And it's a main reason why we are porting Code::Blocks IDE to Mac OS X.
Sure, Xcode is a lot nicer. But it's not cross-platform, and not Free.
> But my point was that for people using Xcode as their IDE, using wx is
> hard, because it requires modification to the project settings
> (defining__WXMAC__,__WXDEBUG__, which could be done in the
> include/mac/setup.h file), whereas adding a well-built framework would
> be all that's needed...
Even with a framework, they would still need to configure their
projects.
The wx platform macros are not defined in setup.h on any other platform
?
Usually this is done by providing Xcode template projects, to start
from.
(or you can use wx-config and copy-and-paste, which also sort of
works...)
--anders
More information about the wx-dev
mailing list