[hatari-devel] CMake build system
Christer Solskogen
christer.solskogen at gmail.com
Sat Jan 23 13:33:04 CET 2010
On Sat, Jan 23, 2010 at 1:19 PM, Thomas H. <th.huth at gmx.de> wrote:
>> Datum: Sat, 23 Jan 2010 10:59:20 +0100
>> Von: Christer Solskogen <christer.solskogen at gmail.com>
>
>> On Sat, Jan 23, 2010 at 10:47 AM, Thomas Huth <huth at users.berlios.de>
>> wrote:
>> >
>> > FYI: It's now possible to create a Xcode project with the CMake build
>> > system, too :-) There are still some issues left (SDLMain.nib is not
>> > loaded right when the user starts hatari.app), but they can certainly
>> > be fixed.
>> >
>>
>> I'm sorry but it looks even worse now:
>>
>> tenderheart:hatari solskogen$ ./configure
>> -- The C compiler identification is GNU
>> -- The CXX compiler identification is GNU
> [...]
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /Users/solskogen/source/hatari
>
> At least the configuration phase looks fine now ;-)
>
It have for quite a while :)
>> [ 4%] Building CXX object src/gui-osx/CMakeFiles/GuiOsx.dir/SDLMain.m.o
>> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:
>
> It's strange that CMake tries to use CXX (this means C++) here for compiling the Objective-C files. I've added a little hack to src/gui-osx/CMakeLists.txt to force the compiler to gcc instead... maybe that works better?
>
Yeap!
> Ok, I've made the OS X bundling now optional. You can disable it by running cmake with the followin parameter: -DENABLE_OSX_BUNDLE:BOOL=0
>
Not to be picky about it, but why not add it as a option to configure?
Remembering all those variables is a pain :) (yeahyeah, i know I can
find them in CMakeLists.txt)
--
chs,
More information about the hatari-devel
mailing list