summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-23 17:30:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-23 18:38:46 +0000
commit5ebf39f8c384f0b38a32094af56f64b9f787d711 (patch)
tree4cd0de36c8f156a6a2d75d3df2c215ad5d7e5773 /Jamroot.jam
parentDon't render zero directional light (diff)
downloadilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.tar.bz2
ilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.tar.xz
ilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.zip
Add geometry shader support to build system
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 949a778..14703eb 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -48,9 +48,11 @@ project : requirements
;
type.register GL_VERTEX_SHADER : vs ;
+type.register GL_GEOMETRY_SHADER : gs ;
type.register GL_FRAGMENT_SHADER : fs ;
generators.register-standard embed.glsl : GL_VERTEX_SHADER : CPP(vs-%) H(vs-%) ;
+generators.register-standard embed.glsl : GL_GEOMETRY_SHADER : CPP(gs-%) H(gs-%) ;
generators.register-standard embed.glsl : GL_FRAGMENT_SHADER : CPP(fs-%) H(fs-%) ;
actions embed.glsl
@@ -75,7 +77,7 @@ explicit main ;
run iliketrains : -- : [ sequence.insertion-sort [ glob-tree-ex res : *.* ] ] : : main ;
lib ilt :
- [ glob-tree *.cpp *.vs *.fs : application bin test ]
+ [ glob-tree *.cpp *.?s : application bin test ]
[ lib generated : [ glob-tree *.ll *.c ] :
<include>.
<include>lib