aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-11-21 03:40:48 +0900
committerJosé Fonseca <[email protected]>2008-11-21 10:44:30 +0900
commit72ebf4fd03fdf64b483026879e18a3158be0c6c8 (patch)
tree47ad20a58695bb4092981b5d1713aa4971291a17 /progs/demos/SConscript
parent85063fe9438cece2d338cd6e4deea5c081943aa4 (diff)
scons: Build progs.
Just demos and trivial dirs for starters.
Diffstat (limited to 'progs/demos/SConscript')
-rw-r--r--progs/demos/SConscript71
1 files changed, 71 insertions, 0 deletions
diff --git a/progs/demos/SConscript b/progs/demos/SConscript
new file mode 100644
index 00000000000..112da7bedb1
--- /dev/null
+++ b/progs/demos/SConscript
@@ -0,0 +1,71 @@
+Import('env')
+
+if not env['GLUT']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBS = ['$GLUT_LIB'])
+
+progs = [
+ 'arbfplight',
+ 'arbfslight',
+ 'arbocclude',
+ 'bounce',
+ 'clearspd',
+ 'copypix',
+ 'cubemap',
+ 'drawpix',
+ 'engine',
+ 'fbo_firecube',
+ 'fire',
+ 'fogcoord',
+ 'fplight',
+ 'fslight',
+ 'gamma',
+ 'gearbox',
+ 'gears',
+ 'geartrain',
+ 'glinfo',
+ 'gloss',
+ 'glslnoise',
+ 'gltestperf',
+ 'glutfx',
+ 'isosurf',
+ 'ipers',
+ 'lodbias',
+ 'morph3d',
+ 'multiarb',
+ 'paltex',
+ 'pointblast',
+ 'rain',
+ 'ray',
+ 'readpix',
+ 'reflect',
+ 'renormal',
+ 'shadowtex',
+ 'singlebuffer',
+ 'streaming_rect',
+ 'spectex',
+ 'spriteblast',
+ 'stex3d',
+ 'teapot',
+ 'terrain',
+ 'tessdemo',
+ 'texcyl',
+ 'texdown',
+ 'texenv',
+ 'texobj',
+ 'textures',
+ 'trispd',
+ 'tunnel',
+ 'tunnel2',
+ 'vao_demo',
+ 'winpos',
+]
+
+for prog in progs:
+ prog = env.Program(
+ target = prog,
+ source = prog + '.c',
+ )