| author | Radek Brich <radek.brich@devl.cz> |
| Wed, 09 Apr 2008 11:35:59 +0200 | |
| branch | pyrit |
| changeset 62 | 07c2f8084719 |
| parent 60 | a23b5089b9c3 |
| child 63 | 440e1ae80459 |
| permissions | -rw-r--r-- |
| 60 | 1 |
Import('pymodule')
|
2 |
||
3 |
env = Environment() |
|
4 |
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
|
|
|
62
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
5 |
files = [ |
|
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
6 |
'boxes.py', 'buddha.py', 'bunny.py', 'car.py', 'dragon.py', |
|
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
7 |
'spheres_ao.py', 'spheres_glass.py', 'spheres_shadow.py', |
|
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
8 |
'triangles_monkey.py', 'triangles_sphere.py', |
|
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
9 |
'objreader.py', 'plyreader.py', 'lworeader.py'] |
| 60 | 10 |
|
|
62
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
11 |
for file in files: |
|
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
12 |
env.Copy('#build/demos/'+file, file)
|
| 60 | 13 |
|
|
62
07c2f8084719
more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
60
diff
changeset
|
14 |
env.Copy('#build/demos/'+str(pymodule[0]).split('/')[-1], str(pymodule[0]))
|