From 5ebf39f8c384f0b38a32094af56f64b9f787d711 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 23 Nov 2022 17:30:43 +0000 Subject: Add geometry shader support to build system --- Jamroot.jam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ] : . lib -- cgit v1.2.3