summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-05-28 11:45:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-05-28 11:45:22 +0100
commitfdea7529ba09a615d92da5823429b49c7e565c9d (patch)
tree67b12689c60dc2e75a5587988dd11bf36c12da9a /Jamroot.jam
parentMark main rule as always, so we can always launch it (diff)
parentSwap GLEW for more modern glad (diff)
downloadilt-fdea7529ba09a615d92da5823429b49c7e565c9d.tar.bz2
ilt-fdea7529ba09a615d92da5823429b49c7e565c9d.tar.xz
ilt-fdea7529ba09a615d92da5823429b49c7e565c9d.zip
Merge branch 'glad'
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam9
1 files changed, 5 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 95b3135..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 ;
@@ -58,8 +57,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 ] :
<include>.
<include>lib
<link>static
@@ -89,8 +88,9 @@ lib ilt :
<toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
<include>.
<include>lib
+ <library>thirdparty//glad
+ <implicit-dependency>thirdparty//glad
<library>sdl2
- <library>glew
<library>freetype2
<library>glib-2.0
<library>mxml
@@ -100,6 +100,7 @@ lib ilt :
: :
<include>.
<include>lib
+ <implicit-dependency>thirdparty//glad
;
build-project test ;