diff options
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r-- | src/gallium/tests/graw/SConscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript new file mode 100644 index 0000000000..7eab973db3 --- /dev/null +++ b/src/gallium/tests/graw/SConscript @@ -0,0 +1,25 @@ +Import('*') + +try: + graw +except NameError: + print 'warning: graw library not avaiable: skipping build of graw test' + Return() + +env = env.Clone() + +env.Prepend(LIBPATH = [graw.dir]) +env.Prepend(LIBS = ['graw']) + +progs = [ + 'clear', + 'tri', + 'quad-tex', +] + +for prog in progs: + env.Program( + target = prog, + source = prog + '.c', + ) + |