author | Radek Brich <radek.brich@devl.cz> |
Tue, 26 Jul 2016 18:19:37 +0200 | |
branch | pyrit |
changeset 104 | 2274a07510c1 |
parent 101 | 50a994a57849 |
permissions | -rw-r--r-- |
Import('env sdlenv have_sdl lib cc') myenv = sdlenv.Clone() myenv.Append(LIBPATH=['#build/lib']) myenv.Prepend(LIBS=['pyrit']) demos = [ 'realtime.cc', 'realtime_bunny.cc', 'realtime_dragon.cc', 'spheres_shadow.cc', 'textures.cc'] includes = ['common_sdl.h', 'common_ply.h'] l = [] if have_sdl: for src in demos: l.append( myenv.Program(src) ) env.Alias('cc-demos', l)