demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Thu, 15 May 2008 00:07:25 +0200
branchpyrit
changeset 96 9eb71e76c7fd
parent 90 f6a72eb99631
child 97 2a853d284a6a
permissions -rw-r--r--
added Python binding for material.h classes added raytracermodule.h header file for declarations updated car.py demo added texture.py demo (based on spheres_glass.py) all remaining 'centre' changed to more common 'center' added some more const's to material.h

Import('pymodule')

env = Environment()
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
files = [
	'boxes.py', 'buddha.py', 'bunny.py', 'car.py', 'dragon.py',
	'spheres_ao.py', 'spheres_glass.py', 'spheres_shadow.py',
	'triangles_monkey.py', 'triangles_sphere.py',
	'objreader.py', 'plyreader.py', 'lworeader.py',
	'vector.py', 'render_nff.py', 'demo_PIL.py', 'texture.py']

l = []
for file in files:
	l.append( env.Copy('#build/demos/'+file, file) )

import os
l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) )

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