Leaner ImGui Build

This commit is contained in:
TheBrokenRail 2024-11-20 12:36:34 -05:00
parent 0b542701c5
commit a6cc0b88b5
2 changed files with 8 additions and 1 deletions

View File

@ -25,6 +25,13 @@ target_link_libraries(imgui PUBLIC glfw OpenGL::GL)
embed_resource(imgui src/misc/fonts/Roboto-Medium.ttf)
embed_resource(imgui src/misc/fonts/Cousine-Regular.ttf)
# Configure
target_compile_definitions(imgui PUBLIC
IMGUI_DISABLE_DEMO_WINDOWS
IMGUI_DISABLE_DEBUG_TOOLS
IMGUI_DISABLE_DEFAULT_FONT
)
# Patch
execute_process(
COMMAND "patch" "-p1" "--forward" "--reject-file=-"

@ -1 +1 @@
Subproject commit eb0ad66d88d96be3ccad31e22ef9d3126ec79ef2
Subproject commit 551b6c4d662a3938f0cd197e79cc29922feec1ff