2022-05-21 03:31:41 +02:00
|
|
|
if (NOT MSVC)
|
2022-08-23 12:09:51 -07:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
2022-05-21 03:31:41 +02:00
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
|
|
endif()
|
2022-01-16 19:49:15 -08:00
|
|
|
|
2018-11-26 20:40:34 +10:00
|
|
|
set(SRCS
|
|
|
|
imgui.cpp
|
2023-07-23 13:43:50 -05:00
|
|
|
imgui_demo.cpp
|
2018-11-26 20:40:34 +10:00
|
|
|
imgui_draw.cpp
|
2021-10-26 14:34:39 -07:00
|
|
|
imgui_tables.cpp
|
2018-11-26 20:40:34 +10:00
|
|
|
imgui_widgets.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(imgui STATIC ${SRCS})
|
2024-03-19 01:08:54 -05:00
|
|
|
dolphin_disable_warnings(imgui)
|
2018-11-26 20:40:34 +10:00
|
|
|
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
|
2022-01-16 19:49:15 -08:00
|
|
|
target_link_libraries(imgui
|
|
|
|
PRIVATE
|
|
|
|
fmt::fmt
|
|
|
|
)
|