ccdemos/SConscript
author Radek Brich <radek.brich@devl.cz>
Mon, 28 Apr 2008 11:44:11 +0200
branchpyrit
changeset 88 f7edb3b90816
parent 84 6f7fe14782c2
child 91 9d66d323c354
permissions -rw-r--r--
merge pixmap handling from sampler, material.h and ccdemos's image module to new Pixmap class add check for PNG library, allow writing PNG file from a Pixmap simplify demos using new methods from Sampler and Pixmap

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

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

l = []
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']) )
l.append( sdlenv.Program(['textures.cc']) )

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