ccdemos/SConscript
author Radek Brich <radek.brich@devl.cz>
Sun, 31 May 2009 16:53:05 +0200
branchpyrit
changeset 99 f3abdaa2e8fb
parent 95 ca7d4c665531
child 100 c005054bf4c1
permissions -rw-r--r--
build script: updated for latest SCons, moved config.h to build/, help and clean targets does not run configure any more, fixed GCC check, added check for zlib

Import('env sdlenv have_sdl lib')
myenv = sdlenv.Clone()
myenv.Append(LIBPATH=['#build/lib'])
myenv.Prepend(LIBS=['pyrit'])

l = []
if have_sdl:
	l.append( myenv.Program(['realtime.cc']) )
	l.append( myenv.Program(['realtime_bunny.cc']) )
	l.append( myenv.Program(['realtime_dragon.cc']) )
	l.append( myenv.Program(['spheres_shadow.cc']) )
	l.append( myenv.Program(['textures.cc']) )

env.Alias('cc-demos', l)