2022-12-22 19:32:42 +00:00
|
|
|
if(NOT MSVC)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(SRCS
|
|
|
|
implot/implot.cpp
|
|
|
|
implot/implot_items.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(implot STATIC ${SRCS})
|
2024-03-19 06:08:54 +00:00
|
|
|
dolphin_disable_warnings(implot)
|
2022-12-22 19:32:42 +00:00
|
|
|
target_include_directories(implot
|
|
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/implot"
|
|
|
|
PRIVATE imgui
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(implot
|
|
|
|
PRIVATE imgui
|
|
|
|
PRIVATE fmt::fmt
|
|
|
|
)
|