From 9329824ddacceea3370717a40e7f5179c269e250 Mon Sep 17 00:00:00 2001 From: Salar Alo Date: Sun, 19 Oct 2025 01:27:06 +0200 Subject: [PATCH] Added CMakeLists.txt for imgui --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..726279af8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +add_library(imgui + imgui.cpp + imgui_draw.cpp + imgui_tables.cpp + imgui_widgets.cpp + backends/imgui_impl_glfw.cpp + backends/imgui_impl_opengl3.cpp +) + +target_include_directories(imgui PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/backends +) + +target_link_libraries(imgui PUBLIC glfw)