diff options
author | David Robillard <d@drobilla.net> | 2019-12-07 15:54:01 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-11 22:59:50 +0100 |
commit | 13f9ef04aaf5f3583ef83bffc094758f0d640634 (patch) | |
tree | 234967ce962d3e1033634569e7a40c80c974abd9 /wscript | |
parent | 91773de7ac4e07643fc47f1f0c1fdb6a255f53d2 (diff) | |
download | pugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.tar.gz pugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.tar.bz2 pugl-13f9ef04aaf5f3583ef83bffc094758f0d640634.zip |
GL3 Test: Move shaders to separate files
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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']) |