aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-07 15:54:01 +0100
committerDavid Robillard <d@drobilla.net>2019-12-11 22:59:50 +0100
commit13f9ef04aaf5f3583ef83bffc094758f0d640634 (patch)
tree234967ce962d3e1033634569e7a40c80c974abd9 /wscript
parent91773de7ac4e07643fc47f1f0c1fdb6a255f53d2 (diff)
downloadpugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.tar.gz
pugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.tar.bz2
pugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.zip
GL3 Test: Move shaders to separate files
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5ea944d..9a3d5ea 100644
--- a/wscript
+++ b/wscript
@@ -284,6 +284,13 @@ def build(bld):
**kwargs)
if bld.env.BUILD_TESTS:
+ for s in ('rect.vert', 'rect.frag'):
+ # Copy shaders to build directory for test programs
+ bld(features = 'subst',
+ is_copy = True,
+ source = 'shaders/%s' % s,
+ target = 'shaders/%s' % s)
+
if bld.env.HAVE_GL:
build_test('pugl_test', ['test/pugl_test.c'],
platform, 'gl', uselib=['GL', 'M'])