summaryrefslogtreecommitdiff
path: root/thirdparty/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-05 02:17:45 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-05 02:17:45 +0100
commit61a6f00897637653597a29be7c4301d07f6c4ae9 (patch)
tree65347536f908ba7d0929ba6861b7d4b17349266c /thirdparty/Jamfile.jam
parentAdd imgui submodule, latest version, docking branch (diff)
downloadilt-61a6f00897637653597a29be7c4301d07f6c4ae9.tar.bz2
ilt-61a6f00897637653597a29be7c4301d07f6c4ae9.tar.xz
ilt-61a6f00897637653597a29be7c4301d07f6c4ae9.zip
Build and link imgui with sdl2 and opengl2 backends
Diffstat (limited to 'thirdparty/Jamfile.jam')
-rw-r--r--thirdparty/Jamfile.jam11
1 files changed, 11 insertions, 0 deletions
diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam
index bee3392..2a91a0b 100644
--- a/thirdparty/Jamfile.jam
+++ b/thirdparty/Jamfile.jam
@@ -5,3 +5,14 @@ lib glad : gl.xml :
<warnings>off
<warnings-as-errors>off
;
+
+lib imguisdl2 :
+ [ glob imgui/imgui*.cpp : imgui/imgui_demo.cpp ]
+ imgui/backends/imgui_impl_sdl2.cpp
+ imgui/backends/imgui_impl_opengl3.cpp
+ :
+ <include>imgui
+ <library>..//sdl2
+ : :
+ <include>imgui
+ ;