models/SConscript
branchpyrit
changeset 99 f3abdaa2e8fb
parent 92 9af5c039b678
equal deleted inserted replaced
98:64638385798a 99:f3abdaa2e8fb
     9 	l.append( myenv.Copy('#build/models/'+file, file) )
     9 	l.append( myenv.Copy('#build/models/'+file, file) )
    10 
    10 
    11 env.Alias('local-models', l)
    11 env.Alias('local-models', l)
    12 
    12 
    13 plydir = Dir('#build/models/ply/')
    13 plydir = Dir('#build/models/ply/')
       
    14 
    14 import os
    15 import os
    15 env.Command(plydir, [], '"'+Dir('#models/').abspath+os.sep+'download-stanford" $TARGET')
    16 env.Command(plydir, [],
       
    17   '"'+Dir('#models/').abspath+os.sep+'download-stanford" $TARGET',
       
    18   ENV = {'PATH':os.environ['PATH']})
    16 Clean(plydir, plydir)
    19 Clean(plydir, plydir)
    17 
    20 
    18 env.Alias('download-models', plydir)
    21 env.Alias('download-models', plydir)
    19 
    22 
    20 env.Alias('models', ['local-models', 'download-models'])
    23 env.Alias('models', ['local-models', 'download-models'])