mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-30 22:27:51 +00:00
Add Dear ImPlot Library
This commit is contained in:
parent
d853da3b0b
commit
5ca438dd97
10 changed files with 115 additions and 3 deletions
23
Externals/implot/CMakeLists.txt
vendored
Normal file
23
Externals/implot/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
implot/implot_demo.cpp
|
||||
)
|
||||
|
||||
add_library(implot STATIC ${SRCS})
|
||||
dolphin_disable_warnings_msvc(implot)
|
||||
target_include_directories(implot
|
||||
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/implot"
|
||||
PRIVATE imgui
|
||||
)
|
||||
|
||||
target_link_libraries(implot
|
||||
PRIVATE imgui
|
||||
PRIVATE fmt::fmt
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue