[hatari-devel] Issues with CMake/CMakeLists.txt
npomarede at corp.free.fr
npomarede at corp.free.fr
Fri Mar 19 21:41:13 CET 2010
On Fri, 19 Mar 2010, Eero Tamminen wrote:
> Hm. Maybe in that case it's better to leave it as it is.
>
> All major Linux distros include Python in their base system
> (in Ubuntu it's even declared essential), so Linux packagers
> should always get python UI stuff.
Considering hatari is supposed to build on more exotic platform than jsut
linux (wii, ...) assuming python is present can be wrong in the end
> Btw. How do I enabled showing of compiler options & flags with CMake?
I use : VERBOSE=1 make
but there might be other ways
>>> CMake defines SDL_LIBRARY
>>> as: /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpt
>>
>> This is done by the standard FindSDL.cmake package that is shipped with
>> CMake. I think they now what they're doing. If not, they would probably
>> get a lot of complaints on their mailing lists... ;-)
>
> Well, it seems that CMake doesn't use sdl-config and therefore doesn't
> use _GNU_SOURCE, so it craps out my build.
>From what I see, /usr/share/cmake/Modules/FindSDL.cmake is looking in a
set of predefined dirs, but doesn't use sdl-config, so this may break on
setup where sdl is not in one of this dir (you can set SDLDIR in that
case, I had to do this for crosscompiling hatari under linux)
> $ cmake --version
> cmake version 2.6-patch 0
I'm using 2.8
Nicolas
More information about the hatari-devel
mailing list