mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-04 19:45:41 +00:00
21 lines
554 B
CMake
21 lines
554 B
CMake
set(SRCS
|
|
include/imconfig.h
|
|
include/imgui.h
|
|
include/imgui_stdlib.h
|
|
src/imgui.cpp
|
|
src/imgui_demo.cpp
|
|
src/imgui_draw.cpp
|
|
src/imgui_widgets.cpp
|
|
src/imgui_internal.h
|
|
src/imstb_rectpack.h
|
|
src/imgui_stdlib.cpp
|
|
src/imstb_textedit.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")
|
|
target_compile_definitions(imgui PRIVATE "imgui_STATIC")
|
|
|