1 Import('pymodule') |
1 Import('pymodule') |
2 |
2 |
3 env = Environment() |
3 env = Environment() |
4 env.Append(BUILDERS = {'Touch':Builder(action=Action(''), single_source=True)}) |
|
5 env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)}) |
4 env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)}) |
6 env.Touch('boxes.py') |
5 files = [ |
7 env.Touch('buddha.py') |
6 'boxes.py', 'buddha.py', 'bunny.py', 'car.py', 'dragon.py', |
8 env.Touch('bunny.py') |
7 'spheres_ao.py', 'spheres_glass.py', 'spheres_shadow.py', |
9 env.Touch('car.py') |
8 'triangles_monkey.py', 'triangles_sphere.py', |
10 env.Touch('dragon.py') |
9 'objreader.py', 'plyreader.py', 'lworeader.py'] |
11 env.Touch('spheres_ao.py') |
|
12 env.Touch('spheres_glass.py') |
|
13 env.Touch('spheres_shadow.py') |
|
14 env.Touch('triangles_monkey.py') |
|
15 env.Touch('triangles_sphere.py') |
|
16 |
10 |
17 env.Touch('objreader.py') |
11 for file in files: |
18 env.Touch('plyreader.py') |
12 env.Copy('#build/demos/'+file, file) |
19 env.Touch('lworeader.py') |
|
20 |
13 |
21 env.Touch('monkey.obj') |
14 env.Copy('#build/demos/'+str(pymodule[0]).split('/')[-1], str(pymodule[0])) |
22 env.Touch('sphere.obj') |
|
23 |
|
24 env.Copy(str(pymodule[0]).split('/')[-1], str(pymodule[0])) |
|