Duckstation/dep/imgui/CMakeLists.txt

23 lines
634 B
CMake
Raw Normal View History

2019-09-09 07:01:26 +00:00
set(SRCS
include/imconfig.h
include/imgui.h
2024-04-04 09:24:47 +00:00
include/imgui_freetype.h
include/imgui_internal.h
2019-11-07 13:51:00 +00:00
include/imgui_stdlib.h
include/imstb_textedit.h
2019-09-09 07:01:26 +00:00
src/imgui.cpp
src/imgui_demo.cpp
src/imgui_draw.cpp
2024-04-04 09:24:47 +00:00
src/imgui_freetype.cpp
src/imgui_stdlib.cpp
src/imgui_tables.cpp
2019-09-09 07:01:26 +00:00
src/imgui_widgets.cpp
src/imstb_rectpack.h
src/imstb_truetype.h
)
add_library(imgui ${SRCS})
target_include_directories(imgui PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_include_directories(imgui INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
2024-04-04 09:24:47 +00:00
target_link_libraries(imgui PUBLIC Freetype::Freetype)