From 88668a16780bfba0bdbfe179ba1fb0b416aa39f5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 4 Jun 2024 23:31:49 +0100 Subject: Add imgui submodule, latest version, docking branch --- thirdparty/imgui | 1 + 1 file changed, 1 insertion(+) create mode 160000 thirdparty/imgui (limited to 'thirdparty') diff --git a/thirdparty/imgui b/thirdparty/imgui new file mode 160000 index 0000000..2db79d0 --- /dev/null +++ b/thirdparty/imgui @@ -0,0 +1 @@ +Subproject commit 2db79d0868f7b02d26f7557a72504a0b6f844937 -- cgit v1.2.3 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') 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') 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