demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Apr 2008 00:29:11 +0200
branchpyrit
changeset 61 7006036eb0db
parent 60 a23b5089b9c3
child 62 07c2f8084719
permissions -rw-r--r--
minor SConscript tweaking

Import('pymodule')

env = Environment()
env.Append(BUILDERS = {'Touch':Builder(action=Action(''), single_source=True)})
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
env.Touch('boxes.py')
env.Touch('buddha.py')
env.Touch('bunny.py')
env.Touch('car.py')
env.Touch('dragon.py')
env.Touch('spheres_ao.py')
env.Touch('spheres_glass.py')
env.Touch('spheres_shadow.py')
env.Touch('triangles_monkey.py')
env.Touch('triangles_sphere.py')

env.Touch('objreader.py')
env.Touch('plyreader.py')
env.Touch('lworeader.py')

env.Touch('monkey.obj')
env.Touch('sphere.obj')

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