demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Apr 2008 11:35:59 +0200
branchpyrit
changeset 62 07c2f8084719
parent 60 a23b5089b9c3
child 63 440e1ae80459
permissions -rw-r--r--
more SConscript tweaking, make model preparation work again

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']

for file in files:
	env.Copy('#build/demos/'+file, file)

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