summaryrefslogtreecommitdiff
path: root/progs/perf/SConscript
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-09-17 12:08:04 +0100
committerKeith Whitwell <keithw@vmware.com>2009-09-17 12:08:04 +0100
commite95a3a23dca9fc7aaa89237059d841f624b438db (patch)
treea255327884ee6ce838e83de48bc308d347ce8a69 /progs/perf/SConscript
parent21caa29fbd332a2ee05a58df91e1664fbbc4e61f (diff)
progs/perf: add scons support, get working under mingw
Diffstat (limited to 'progs/perf/SConscript')
-rw-r--r--progs/perf/SConscript26
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',
+ ]
+ )
+