-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ImGui a git submodule of ImGui-SFML #81
Comments
It brings more complexity for almost no gain, I prefer cloning imgui separately on my own. |
I guess you mean submodule? In any case, I'd strongly argue for a submodule instead of git-subtree or subrepo and make sure that the path of ImGUI is configurable. This way, folks who want to manually manage ImGUI can do so; For other folks, the submodule should be enough and works out of the box. |
You can't add the sources of another library to the sources of one library as a git submodule. This way you will link two libraries at the level of their source code. At first glance, this seems like a good idea, but think about how it will work in various package managers that build libraries from source code, such as vcpkg? After all, the package repository already contains imgui as a separate library, and which version of the source code should be used in this case will conflict. |
I think it'll be good to pin specific ImGui commit (I'll use release ones in "master" and releases) and allow to not specify IMGUI_DIR, but get ImGui from subrepository and be sure that the version you'll be using was tested with ImGui-SFML.
The text was updated successfully, but these errors were encountered: