summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-30 14:14:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-04 19:26:55 +0000
commit2eeaeafb40a6b04b811714c793fb97ce4de41254 (patch)
tree55cea15af898afe6f0b81a3e6e2e7debe618a8b6 /Jamroot.jam
parentBasic support for loading a heightmap from an image (diff)
downloadilt-2eeaeafb40a6b04b811714c793fb97ce4de41254.tar.bz2
ilt-2eeaeafb40a6b04b811714c793fb97ce4de41254.tar.xz
ilt-2eeaeafb40a6b04b811714c793fb97ce4de41254.zip
Split into main app and library the rest for testing
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam22
1 files changed, 16 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 9b79df6..0c030aa 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -14,8 +14,8 @@ project : requirements
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>release:<lto>on
- <toolset>tidy:<exclude>bin/gfx/gl/shaders/fs-basicShader.h
- <toolset>tidy:<exclude>bin/gfx/gl/shaders/vs-basicShader.h
+ <toolset>tidy:<exclude>gfx/gl/shaders/fs-basicShader.h
+ <toolset>tidy:<exclude>gfx/gl/shaders/vs-basicShader.h
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
<toolset>tidy:<checkxx>clang-*
@@ -45,14 +45,24 @@ actions xxd.i
}
IMPORT $(__name__) : xxd.i : : xxd.i ;
-exe test :
+exe iliketrains :
+ application/main.cpp
+ :
+ <library>ilt
+ <include>.
+ <include>utility
+ <include>lib
+ ;
+
+lib ilt :
[ glob-tree *.cpp *.c *.vs *.fs : bin ]
:
+ <variant>release:<link>static
<include>.
<include>utility
<include>lib
- <library>sdl2
- <library>glew
- <library>pthread
+ <library>sdl2/<link>shared
+ <library>glew/<link>shared
+ <library>pthread/<link>shared
<use>stb
;