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 --- thirdparty/Jamfile.jam | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'thirdparty/Jamfile.jam') 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 From 6cd132b9740af30c41f478cf73d41b0a10399945 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 24 Jun 2024 23:49:43 +0100 Subject: Build ImGui as a static library --- thirdparty/Jamfile.jam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'thirdparty/Jamfile.jam') diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam index 2a91a0b..06ab869 100644 --- a/thirdparty/Jamfile.jam +++ b/thirdparty/Jamfile.jam @@ -11,8 +11,12 @@ lib imguisdl2 : imgui/backends/imgui_impl_sdl2.cpp imgui/backends/imgui_impl_opengl3.cpp : + static imgui - ..//sdl2 + ..//sdl2 + -fPIC + off + off : : imgui ; -- cgit v1.2.3