demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Tue, 08 Apr 2008 01:05:12 +0200
branchpyrit
changeset 60 a23b5089b9c3
child 62 07c2f8084719
permissions -rw-r--r--
moving to SCons build system

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