Leaner ImGui Build
This commit is contained in:
parent
0b542701c5
commit
a6cc0b88b5
7
dependencies/imgui/CMakeLists.txt
vendored
7
dependencies/imgui/CMakeLists.txt
vendored
@ -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/Roboto-Medium.ttf)
|
||||||
embed_resource(imgui src/misc/fonts/Cousine-Regular.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
|
# Patch
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND "patch" "-p1" "--forward" "--reject-file=-"
|
COMMAND "patch" "-p1" "--forward" "--reject-file=-"
|
||||||
|
2
dependencies/imgui/src
vendored
2
dependencies/imgui/src
vendored
@ -1 +1 @@
|
|||||||
Subproject commit eb0ad66d88d96be3ccad31e22ef9d3126ec79ef2
|
Subproject commit 551b6c4d662a3938f0cd197e79cc29922feec1ff
|
Loading…
Reference in New Issue
Block a user