ccdemos/SConscript
branchpyrit
changeset 95 ca7d4c665531
parent 93 96d65f841791
child 100 c005054bf4c1
equal deleted inserted replaced
94:4c8abb8977dc 95:ca7d4c665531
     1 Import('env sdlenv lib')
     1 Import('env sdlenv have_sdl lib')
     2 myenv = sdlenv.Clone()
     2 myenv = sdlenv.Clone()
     3 myenv.Append(LIBPATH=['#build/lib'])
     3 myenv.Append(LIBPATH=['#build/lib'])
     4 myenv.Prepend(LIBS=['pyrit'])
     4 myenv.Prepend(LIBS=['pyrit'])
     5 
     5 
     6 l = []
     6 l = []
     7 l.append( myenv.Program(['realtime.cc']) )
     7 if have_sdl:
     8 l.append( myenv.Program(['realtime_bunny.cc']) )
     8 	l.append( myenv.Program(['realtime.cc']) )
     9 l.append( myenv.Program(['realtime_dragon.cc']) )
     9 	l.append( myenv.Program(['realtime_bunny.cc']) )
    10 l.append( myenv.Program(['spheres_shadow.cc']) )
    10 	l.append( myenv.Program(['realtime_dragon.cc']) )
    11 l.append( myenv.Program(['textures.cc']) )
    11 	l.append( myenv.Program(['spheres_shadow.cc']) )
       
    12 	l.append( myenv.Program(['textures.cc']) )
    12 
    13 
    13 env.Alias('cc-demos', l)
    14 env.Alias('cc-demos', l)