Follow imgui recommendation and streamline build dependencies #355
Loading…
Reference in a new issue
No description provided.
Delete branch "embed-imgui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The imgui repository doesn't come with a build script since it's meant to be embedded into projects by just copying the source files. Package managers work around this by inventing their own build script, which is suboptimal because everyone adds their own spin on things. But more critically, for flatpak (and appimage?) this means we would also have to create a custom
CMakeLists.txt
or find some other roundabout way to build imgui.So instead, this PR changes it so we follow their recommendation. imgui is built as part of ImguiImpl and we source their files via a git submodule. Doing it this way means no workaround is required for any of the platforms we currently target, including the future flatpak.
This PR also simplifies the dependencies of
RendererShaderVk.cpp
by getting rid of the check for legacy versions of glslang, which we don't support anymore anyway.Aren't you also supposed to use the files in imgui/backends instead of vendor them in Cemu/src/imgui?
Generally yes, but we use customized backends.