Replies: 2 comments
-
|
Hi, Partial solution for C++ onlyAt the moment, you can disable specific features using the main CMake file: option(IMGUI_BUNDLE_DISABLE_NANOVG "Disable nanovg" OFF)
option(IMGUI_BUNDLE_DISABLE_IMGUI_TEX_INSPECT "Disable imgui_tex_inspect" OFF)
option(IMGUI_BUNDLE_DISABLE_IMGUIZMO "Disable ImGuizmo" OFF)
option(IMGUI_BUNDLE_DISABLE_IMFILEDIALOG "Disable ImFileDialog" OFF)
option(IMGUI_BUNDLE_DISABLE_IMGUI_NODE_EDITOR "Disable imgui-node-editor" OFF)
option(IMGUI_BUNDLE_DISABLE_IMPLOT "Disable implot" OFF)
option(IMGUI_BUNDLE_DISABLE_IMPLOT3D "Disable implot3d" OFF)
option(IMGUI_BUNDLE_DISABLE_IMMVISION "Disable immvision" OFF)Caveats
Future addition to the bundle?Your suggestion is interesting, so I started to investigate possible solutions (including for the python bindings). This would require a few days of work. Notes about suppressing hello imguiSome (limited) elements will not work If Hello ImGui and Immapp are not active, you should know that some elements will not work. Here is a quick overview
You may lose some services provided by hello imgui
MiscThanks for contacting me! Are you working at lumiverse? Can you tell me a bit more about it? (I am based in Paris too). Can you tell me more about your work in progress at https://github.com/Lumengine/lumengine_imgui_bundle ? As a way to build C++ libraries I think it might work (although complex). However as python bindings are concerned, I'm afraid this is not the good approach (ImGui bundle is huge, and maintaining / autogenerating the bindings is key for it to work correctly). Feel free to contact me by direct email about this. |
Beta Was this translation helpful? Give feedback.
-
|
I did some adaptations on the CMake side. May be it will help you. Lines 158 to 213 in 4a5ef0f |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am a user of Dear ImGui and several related libraries (imgui-node-editor, ImPlot, etc.). I've noticed that imgui_bundle often includes fixes that aren't yet in the original repositories, and having everything in one place is very appealing.
I am considering cloning this repo to manage my dependencies, but I have a specific use case:
No HelloImGui: I already have my own window management and rendering backend.
Minimal Dependencies: I would like to compile the bundle without OpenCV, SDL2, or GLFW.
Core Needs: I only need Dear ImGui, the specific widgets (Node Editor, ImPlot, etc.), and the Python bindings (nanobind/pybind11).
Is there a supported way to configure the CMake to build only these components as a "library only" mode? Or would you recommend forking the repo and stripping the CMakeLists.txt for my own specific needs?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions