mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-30 21:51:05 +01:00
23 lines
406 B
CMake
23 lines
406 B
CMake
if (NOT MSVC)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
endif()
|
|
|
|
set(SRCS
|
|
imgui.cpp
|
|
imgui_demo.cpp
|
|
imgui_draw.cpp
|
|
imgui_tables.cpp
|
|
imgui_widgets.cpp
|
|
)
|
|
|
|
add_library(imgui STATIC ${SRCS})
|
|
dolphin_disable_warnings(imgui)
|
|
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
target_link_libraries(imgui
|
|
PRIVATE
|
|
fmt::fmt
|
|
)
|