diff options
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r-- | src/gallium/tests/graw/SConscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript new file mode 100644 index 0000000000..a40d66d4a1 --- /dev/null +++ b/src/gallium/tests/graw/SConscript @@ -0,0 +1,29 @@ +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'] + gallium) + +progs = [ + 'clear', + 'tri', + 'quad-tex', + 'fs-test', + 'vs-test', + 'gs-test', + 'tri-gs', +] + +for prog in progs: + env.Program( + target = prog, + source = prog + '.c', + ) + |