models/SConscript
author Radek Brich <radek.brich@devl.cz>
Mon, 19 May 2008 22:59:04 +0200
branchpyrit
changeset 98 64638385798a
parent 92 9af5c039b678
child 99 f3abdaa2e8fb
permissions -rw-r--r--
add sections about demos to README update doxygen comments

Import('env')

myenv = Environment()
myenv.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
files = ['lwo/Nissan300ZX.lwo', 'obj/cube.obj', 'obj/sphere.obj', 'obj/monkey.obj']

l = []
for file in files:
	l.append( myenv.Copy('#build/models/'+file, file) )

env.Alias('local-models', l)

plydir = Dir('#build/models/ply/')
import os
env.Command(plydir, [], '"'+Dir('#models/').abspath+os.sep+'download-stanford" $TARGET')
Clean(plydir, plydir)

env.Alias('download-models', plydir)

env.Alias('models', ['local-models', 'download-models'])