glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Scons, CMake and autotools


From: Kieran P
Subject: Re: [glob2-devel] Scons, CMake and autotools
Date: Wed, 11 Jul 2007 19:39:36 +1200

Would something like this below, put above "env.ParseConfig("sdl-config --cflags")" in SConstruct, correctly substitute the replaces needed in autotools, that I sent in the previous email??



mingw = ARGUMENTS.get('mingw', 0)
if int(mingw):
    env.Append(CPPFLAGS=[' -I/usr/include/freetype2'])
    env.Append(LDFLAGS=[' `sdl-config --libs` -lSDL_ttf'])
    env.Append(LIBS=['logg', 'lwsock32', '/lib/libvorbisfile.a', '/lib/libvorbis.a', '/lib/libogg.a'])
else:
    print ""



I don't have time to test right now. Might have tomorrow morning.

--
Kieran.P
http://qlwiki.linuxsolutions.co.nz/
reply via email to

[Prev in Thread] Current Thread [Next in Thread]