ccdemos/SConscript
author Radek Brich <radek.brich@devl.cz>
Sun, 27 Apr 2008 09:44:49 +0200
branchpyrit
changeset 84 6f7fe14782c2
parent 65 242839c6d27d
child 88 f7edb3b90816
permissions -rw-r--r--
prepare kd-tree traversal for packet tracing (4 rays at once) RayPacket and VectorPacket structures for packet tracing remove some redundant const's

Import('env lib')
myenv = env.Clone()
myenv.Append(CPPPATH = ['.','#include'], LIBPATH='#build/lib')
myenv.Prepend(LIBS=['pyrit','png'])

sdlenv = myenv.Clone()
sdlenv.ParseConfig('sh sdl-config --cflags --libs')

l = []
image_obj = myenv.Object('image.c', CC="$CXX")
l.append( image_obj )
l.append( sdlenv.Program(['realtime.cc']) )
l.append( sdlenv.Program(['realtime_bunny.cc']) )
l.append( sdlenv.Program(['realtime_dragon.cc']) )
l.append( sdlenv.Program(['spheres_shadow.cc']+image_obj) )
l.append( sdlenv.Program(['textures.cc']+image_obj) )

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