Skip to content

Commit

Permalink
Add IMGui stdlib to CMake build
Browse files Browse the repository at this point in the history
Clean up the IMTui dependencies
  • Loading branch information
alef committed Nov 23, 2024
1 parent 8ff5859 commit 6521199
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,24 @@ if (TILES)
imgui
STATIC
imgui/imconfig.h
imgui/imgui_internal.h
imgui/imgui.cpp
imgui/imgui.h
imgui/imstb_rectpack.h
imgui/imstb_textedit.h
imgui/imstb_truetype.h
imgui/imgui_demo.cpp
imgui/imgui_draw.cpp
imgui/imgui_freetype.cpp
imgui/imgui_tables.cpp
imgui/imgui_widgets.cpp
imgui/imgui.cpp
imgui/imgui_freetype.h
imgui/imgui_impl_sdl2.cpp
imgui/imgui_impl_sdl2.h
imgui/imgui_impl_sdlrenderer2.cpp
imgui/imgui_impl_sdlrenderer2.h
imgui/imgui_internal.h
imgui/imgui_stdlib.cpp
imgui/imgui_stdlib.h
imgui/imgui_tables.cpp
imgui/imgui_widgets.cpp
imgui/imstb_rectpack.h
imgui/imstb_textedit.h
imgui/imstb_truetype.h
)

target_include_directories(
Expand Down Expand Up @@ -131,16 +134,15 @@ if (CURSES)
imtui
STATIC
imgui/imconfig.h
imgui/imgui_internal.h
imgui/imgui.cpp
imgui/imgui.h
imgui/imstb_rectpack.h
imgui/imstb_textedit.h
imgui/imstb_truetype.h
imgui/imgui_demo.cpp
imgui/imgui_draw.cpp
imgui/imgui_internal.h
imgui/imgui_stdlib.cpp
imgui/imgui_stdlib.h
imgui/imgui_tables.cpp
imgui/imgui_widgets.cpp
imgui/imgui.cpp
imtui/imtui-impl-ncurses.cpp
imtui/imtui-impl-ncurses.h
imtui/imtui-impl-text.cpp
Expand Down

0 comments on commit 6521199

Please sign in to comment.