models/SConscript
branchpyrit
changeset 62 07c2f8084719
child 63 440e1ae80459
equal deleted inserted replaced
61:7006036eb0db 62:07c2f8084719
       
     1 env = Environment()
       
     2 env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
       
     3 files = ['lwo/Nissan300ZX.lwo', 'obj/cube.obj', 'obj/sphere.obj', 'obj/monkey.obj']
       
     4 
       
     5 for file in files:
       
     6 	env.Copy('#build/models/'+file, file)
       
     7 
       
     8 Command(Dir('#build/models/ply/'), [], Dir('#models/').abspath+'/download-stanford $TARGET')
       
     9 Clean(Dir('#build/models/ply/'), Dir('#build/models/ply/'))