diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-09-17 12:08:04 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-09-17 12:08:04 +0100 |
commit | e95a3a23dca9fc7aaa89237059d841f624b438db (patch) | |
tree | a255327884ee6ce838e83de48bc308d347ce8a69 /progs/perf/SConscript | |
parent | 21caa29fbd332a2ee05a58df91e1664fbbc4e61f (diff) |
progs/perf: add scons support, get working under mingw
Diffstat (limited to 'progs/perf/SConscript')
-rw-r--r-- | progs/perf/SConscript | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/progs/perf/SConscript b/progs/perf/SConscript new file mode 100644 index 0000000000..c019dc95b0 --- /dev/null +++ b/progs/perf/SConscript @@ -0,0 +1,26 @@ +Import('env') + +if not env['GLUT']: + Return() + +env = env.Clone() + +env.Prepend(LIBS = ['$GLUT_LIB']) + +progs = [ + 'drawoverhead', + 'teximage', + 'vbo', + 'vertexrate', +] + +for prog in progs: + env.Program( + target = prog, + source = [ + prog + '.c', + 'common.c', + 'glmain.c', + ] + ) + |