demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Mon, 14 Apr 2008 12:51:50 +0200
branchpyrit
changeset 69 303583d2fb97
parent 65 242839c6d27d
child 72 7c3f38dff082
permissions -rw-r--r--
move "smooth" attribute from Triangle to Material lwo reader enhancements - implement more chunk types, support for smoothing flag and SMAN (smoothing max. angle)

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

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)