> I hadn't really looked at app bundles before, since my 
> terminal-based programs ported from Linux worked just fine.  
> I guess it's time for me to drink a little more of the Apply Cool-Aid.

Yes, that sounds about right - command line stuff works, but anything
that needs to interact with the window manager needs to be bundled (or
alternatley have a suitable res fork, for versions prior to 10.5.)

> I'm using CMake to build the project, so I'm going to need to 
> look into how CMake does OS X bundles.  Man, this OS X 
> programming is one... learning opportunity... after another :)

With a suitable gui toolkit (e.g. fltk) it becomes very like any other
unix system - the vagaries of their odd WM are largely hidden. The only
caveat is the post-processing steps you need to do to make a suitable
bundle, which is just a directory hierarchy really, the top one of which
is called <thing>.app - you can make a basic structure and then copy in
your exe to run it.

Several of the demos in the test folder build their own bundles at make
time, e.g. sudoku etc. Indeed, I think they even build their bundles on
linux...

I *think* the cmake file in the test directory knows how to build the
sudoku bundle, so maybe you can just copy that. Or add a simple script
phase that you run by hand that does it...


SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to