Externalized ImGUI compilation and fixed white screen issue

This commit is contained in:
2022-06-10 21:06:20 +02:00
parent 82e0f473fb
commit 7b9685c381
8 changed files with 53 additions and 24 deletions

18
ImGui/premake5.lua Normal file
View File

@ -0,0 +1,18 @@
project "ImGUI_Opengl3"
kind "StaticLib"
includedirs {
"../libs/glfw/include",
"../libs/ImGui"
}
files {
"../libs/ImGui/*.cpp",
"../libs/ImGui/backends/imgui_impl_glfw.cpp",
"../libs/ImGui/backends/imgui_impl_Opengl3.cpp",
}
libdirs{
"../libs/ImGui",
"../libs/glad"
}