author | Radek Brich <radek.brich@devl.cz> |
Sat, 10 May 2008 14:29:37 +0200 | |
branch | pyrit |
changeset 95 | ca7d4c665531 |
parent 93 | 96d65f841791 |
child 100 | c005054bf4c1 |
permissions | -rw-r--r-- |
95
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
1 |
Import('env sdlenv have_sdl lib') |
92
9af5c039b678
add MSVC compiler support, make it default for Windows
Radek Brich <radek.brich@devl.cz>
parents:
91
diff
changeset
|
2 |
myenv = sdlenv.Clone() |
93 | 3 |
myenv.Append(LIBPATH=['#build/lib']) |
88
f7edb3b90816
merge pixmap handling from sampler, material.h and ccdemos's image module to new Pixmap class
Radek Brich <radek.brich@devl.cz>
parents:
84
diff
changeset
|
4 |
myenv.Prepend(LIBS=['pyrit']) |
60 | 5 |
|
92
9af5c039b678
add MSVC compiler support, make it default for Windows
Radek Brich <radek.brich@devl.cz>
parents:
91
diff
changeset
|
6 |
l = [] |
95
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
7 |
if have_sdl: |
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
8 |
l.append( myenv.Program(['realtime.cc']) ) |
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
9 |
l.append( myenv.Program(['realtime_bunny.cc']) ) |
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
10 |
l.append( myenv.Program(['realtime_dragon.cc']) ) |
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
11 |
l.append( myenv.Program(['spheres_shadow.cc']) ) |
ca7d4c665531
build script fixes, add ldflags build option
Radek Brich <radek.brich@devl.cz>
parents:
93
diff
changeset
|
12 |
l.append( myenv.Program(['textures.cc']) ) |
60 | 13 |
|
92
9af5c039b678
add MSVC compiler support, make it default for Windows
Radek Brich <radek.brich@devl.cz>
parents:
91
diff
changeset
|
14 |
env.Alias('cc-demos', l) |