2021-09-14 09:11:59 +00:00
|
|
|
add_library(imgui
|
|
|
|
imgui/imconfig.h
|
|
|
|
imgui/imgui.cpp
|
|
|
|
imgui/imgui.h
|
|
|
|
imgui/imgui_demo.cpp
|
|
|
|
imgui/imgui_draw.cpp
|
|
|
|
imgui/imgui_internal.h
|
|
|
|
imgui/imgui_tables.cpp
|
|
|
|
imgui/imgui_widgets.cpp
|
|
|
|
imgui/imstb_rectpack.h
|
|
|
|
imgui/imstb_textedit.h
|
|
|
|
imgui/imstb_truetype.h
|
|
|
|
)
|
|
|
|
|
2022-04-03 04:49:49 +00:00
|
|
|
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/imgui" "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
|
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
|
|
|
|