2021-09-14 09:11:59 +00:00
|
|
|
add_library(imgui
|
2022-09-03 13:29:12 +00:00
|
|
|
include/imconfig.h
|
|
|
|
include/imgui.h
|
2024-04-06 08:18:22 +00:00
|
|
|
include/imgui_freetype.h
|
2022-09-03 13:29:12 +00:00
|
|
|
include/imgui_internal.h
|
|
|
|
include/imgui_stdlib.h
|
|
|
|
include/imstb_textedit.h
|
|
|
|
src/imgui.cpp
|
|
|
|
src/imgui_demo.cpp
|
|
|
|
src/imgui_draw.cpp
|
2024-04-06 08:18:22 +00:00
|
|
|
src/imgui_freetype.cpp
|
2022-09-03 13:29:12 +00:00
|
|
|
src/imgui_tables.cpp
|
|
|
|
src/imgui_widgets.cpp
|
|
|
|
src/imstb_rectpack.h
|
|
|
|
src/imstb_truetype.h
|
|
|
|
src/imgui_stdlib.cpp
|
2021-09-14 09:11:59 +00:00
|
|
|
)
|
|
|
|
|
2022-09-03 13:29:12 +00:00
|
|
|
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
target_include_directories(imgui PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
2024-04-06 08:18:22 +00:00
|
|
|
target_link_libraries(imgui PUBLIC Freetype::Freetype)
|
2022-04-03 04:49:49 +00:00
|
|
|
|
2022-05-15 08:06:44 +00:00
|
|
|
# Needed for macOS compile.
|
|
|
|
set_property(TARGET imgui PROPERTY CXX_STANDARD 17)
|
|
|
|
set_property(TARGET imgui PROPERTY CXX_STANDARD_REQUIRED ON)
|
2022-04-03 04:49:49 +00:00
|
|
|
|