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

Add CMake configuration for imgui library

This commit is contained in:
Ramoj naidu 2025-12-02 13:09:26 +05:30 committed by GitHub
parent 772cbfd014
commit 75c4103572
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

6
CMakeLists.txt Normal file
View file

@ -0,0 +1,6 @@
file(GLOB IMGUI_SRC "*.cpp")
add_library(imgui STATIC ${IMGUI_SRC})
target_include_directories(imgui PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)