mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
866 B
CMake
31 lines
866 B
CMake
set(SRCS
|
|
include/dyn_freetype.h
|
|
include/dyn_plutosvg.h
|
|
include/imconfig.h
|
|
include/imgui.h
|
|
include/imgui_freetype.h
|
|
include/imgui_internal.h
|
|
include/imgui_stdlib.h
|
|
include/imstb_textedit.h
|
|
src/imgui.cpp
|
|
src/imgui_demo.cpp
|
|
src/imgui_draw.cpp
|
|
src/imgui_freetype.cpp
|
|
src/imgui_stdlib.cpp
|
|
src/imgui_tables.cpp
|
|
src/imgui_widgets.cpp
|
|
src/imstb_rectpack.h
|
|
src/imstb_truetype.h
|
|
)
|
|
|
|
add_library(imgui ${SRCS})
|
|
get_target_property(FREETYPE_INCLUDE_DIRS freetype INTERFACE_INCLUDE_DIRECTORIES)
|
|
get_target_property(PLUTOSVG_INCLUDE_DIRS plutosvg::plutosvg INTERFACE_INCLUDE_DIRECTORIES)
|
|
target_include_directories(imgui PRIVATE
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/src"
|
|
"${FREETYPE_INCLUDE_DIRS}"
|
|
"${PLUTOSVG_INCLUDE_DIRS}"
|
|
)
|
|
target_include_directories(imgui INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|