|Re: [hatari-devel] Test needed to build OSX version|
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Le 23/06/13 19:10, Bob Carpenter a écrit :
You have to change the Xcode project in order to replace the SDL pop-ups with the OS X dialogs. You have to add an ALERT_FLAGS parameter to make that happen. I would have to look at my old Xcode project to remember where it goes and the exact syntax. My compilation of the most recent code just shows the SDL pop-ups. I do not have time prior to my holiday to make the Xcode project changes to show the OS X dialogs along with embedding the SDL framework and EmuTOS into the application bundle.You need to define somewhere ALERT_HOOKS=1 to have all the MacOSX GUI OK (with translation in cocoa style alert box). CMAKE system does'nt set this.
You simply have to add a "Copy Files Build Phase" wich will copy SDL.framework into the Frameworks folder of the App. I also used a libpng.framework of my own build. I also have a libzip.framework.
My XCode project is'nt perfect (need to run first ./configure and make on command line to have a good build). For exemple, each separate part of Hatari can be converted into a Framework, as for CMAKE wich will produce libfloppy.a, libGuiSDL.a, etc.
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|