I'm trying to get imgui working with OpenGL, using Conan to manage my dependencies. Imgui has backends which are used to hook into whatever rendering solution you're using.
The link below describes how to make those available to your project using Conan, by using the [imports]
section of the conanfile.txt.
https://blog.conan.io/2019/06/26/An-introduction-to-the-Dear-ImGui-library.html
The imports()
function has been removed from Conan 2.0, and I've seen some documentation saying you now need to use the generate()
function in a conanfile.py to do the same thing. What I'd like to know is how to convert:
[imports]
./misc/bindings, imgui_impl_glfw.cpp -> ../bindings
./misc/bindings, imgui_impl_opengl3.cpp -> ../bindings
./misc/bindings, imgui_impl_glfw.h -> ../bindings
./misc/bindings, imgui_impl_opengl3.h -> ../bindings
into what I need in the generates()
function.
I haven't tried much yet, because I'm not sure where to start.