1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Added CMakeLists.txt for imgui

This commit is contained in:
Salar Alo 2025-10-19 01:27:06 +02:00
parent 5af650fc6d
commit 9329824dda

15
CMakeLists.txt Normal file
View file

@ -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)