diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-05 02:17:45 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-05 02:17:45 +0100 |
commit | 61a6f00897637653597a29be7c4301d07f6c4ae9 (patch) | |
tree | 65347536f908ba7d0929ba6861b7d4b17349266c | |
parent | Add imgui submodule, latest version, docking branch (diff) | |
download | ilt-61a6f00897637653597a29be7c4301d07f6c4ae9.tar.bz2 ilt-61a6f00897637653597a29be7c4301d07f6c4ae9.tar.xz ilt-61a6f00897637653597a29be7c4301d07f6c4ae9.zip |
Build and link imgui with sdl2 and opengl2 backends
-rw-r--r-- | Jamroot.jam | 1 | ||||
-rw-r--r-- | thirdparty/Jamfile.jam | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 967021d..94ab3b2 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -93,6 +93,7 @@ lib ilt : <library>thirdparty//glad <implicit-dependency>thirdparty//glad <library>sdl2 + <library>thirdparty//imguisdl2 <library>freetype2 <library>glib-2.0 <library>mxml 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 + ; |