From ac0247a610a5a2ffbb8419a5de02c49fac9b4265 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 27 May 2023 11:47:02 +0100 Subject: Add glad submodule and build a glad library Slightly messy regarding file paths to get files generated by the glad generator into a place where b2 will happily find them later... but it works. --- Jamroot.jam | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 95b3135..0273fe2 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -58,8 +58,8 @@ always main ; run iliketrains : -- : [ sequence.insertion-sort [ glob-tree-ex res : *.* ] ] : : main ; lib ilt : - [ glob-tree *.cpp *.?s *.t?s : application bin test ] - [ lib generated : [ glob-tree *.ll *.c ] : + [ glob-tree *.cpp *.?s *.t?s : application bin test thirdparty ] + [ lib generated : [ glob-tree *.ll *.c : bin thirdparty ] : . lib static @@ -89,6 +89,8 @@ lib ilt : gcc,debug:-Wuseless-cast . lib + thirdparty//glad + thirdparty//glad sdl2 glew freetype2 -- cgit v1.2.3 From 3c1c392ab177566f09d11a380210e1937741fad2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 28 May 2023 11:45:01 +0100 Subject: Swap GLEW for more modern glad --- Jamroot.jam | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 0273fe2..8a111ee 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,7 +7,6 @@ import sequence ; import glsl ; pkg-config.import sdl2 ; -pkg-config.import glew ; pkg-config.import freetype2 ; pkg-config.import glib-2.0 ; pkg-config.import mxml ; @@ -92,7 +91,6 @@ lib ilt : thirdparty//glad thirdparty//glad sdl2 - glew freetype2 glib-2.0 mxml @@ -102,6 +100,7 @@ lib ilt : : : . lib + thirdparty//glad ; build-project test ; -- cgit v1.2.3