ccdemos/SConscript
author Radek Brich <radek.brich@devl.cz>
Thu, 15 May 2008 19:15:57 +0200
branchpyrit
changeset 97 2a853d284a6a
parent 95 ca7d4c665531
child 100 c005054bf4c1
permissions -rw-r--r--
added bench.py demo which prints tree build and render times added Vertex to python binding, NormalVertex is now its subclass

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)