Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Examples #3

Open
josht000 opened this issue Sep 28, 2019 · 2 comments
Open

Examples #3

josht000 opened this issue Sep 28, 2019 · 2 comments

Comments

@josht000
Copy link

Your project looks really great, builds fine and everything. Can you please include the examples which produced the screenshots as end to end examples? I'm not used to cmake or custom libraries or imgui for that matter, so there are a lot of hurtles for some of us.

Also, you could consider adding imgui as a submodule so we can git clone --recurse-submodules https:// in one line. Anything to make initial setup go more smoothly for noobs.

Thanks,
Josh

@swr1bm86
Copy link

vote for this too 👍

@manoyes
Copy link

manoyes commented Mar 6, 2022

This would not be so great if you are using other custom widgets that also had imgui as a submodule. It would be best if you used a build system like premake to tie all your imgui "add-ons" and imgui together in one project.

You can view an example of what imgui would look like with a premake here.

To add this imgui-plot widget, you would just need to clone as a submodule or subtree to its own directory, then edit the premake5.lua file in the imgui repo I linked to include the imgui_plot.cpp path in the files struct and the imgui-plot/include directory in the includedirs struct.

If you want to see how premake would be deployed in a larger overall project, you can find an example here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants