From 61a6f00897637653597a29be7c4301d07f6c4ae9 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Wed, 5 Jun 2024 02:17:45 +0100
Subject: Build and link imgui with sdl2 and opengl2 backends

---
 thirdparty/Jamfile.jam | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'thirdparty')

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
+	;
-- 
cgit v1.2.3