models/SConscript
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Apr 2008 11:35:59 +0200
branchpyrit
changeset 62 07c2f8084719
child 63 440e1ae80459
permissions -rw-r--r--
more SConscript tweaking, make model preparation work again
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
62
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
env = Environment()
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
files = ['lwo/Nissan300ZX.lwo', 'obj/cube.obj', 'obj/sphere.obj', 'obj/monkey.obj']
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
for file in files:
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
	env.Copy('#build/models/'+file, file)
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
Command(Dir('#build/models/ply/'), [], Dir('#models/').abspath+'/download-stanford $TARGET')
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
Clean(Dir('#build/models/ply/'), Dir('#build/models/ply/'))