From 61a6f00897637653597a29be7c4301d07f6c4ae9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 5 Jun 2024 02:17:45 +0100 Subject: Build and link imgui with sdl2 and opengl2 backends --- Jamroot.jam | 1 + thirdparty/Jamfile.jam | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/Jamroot.jam b/Jamroot.jam index 967021d..94ab3b2 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -93,6 +93,7 @@ lib ilt : thirdparty//glad thirdparty//glad sdl2 + thirdparty//imguisdl2 freetype2 glib-2.0 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 : off off ; + +lib imguisdl2 : + [ glob imgui/imgui*.cpp : imgui/imgui_demo.cpp ] + imgui/backends/imgui_impl_sdl2.cpp + imgui/backends/imgui_impl_opengl3.cpp + : + imgui + ..//sdl2 + : : + imgui + ; -- cgit v1.2.3