File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 8787[submodule "3rdparty/imgui "]
8888 path = 3rdparty/imgui
8989 url = git@github.com:ocornut/imgui.git
90+ [submodule "3rdparty/implot "]
91+ path = 3rdparty/implot
92+ url = git@github.com:epezent/implot.git
Original file line number Diff line number Diff line change @@ -250,6 +250,24 @@ if(NBL_BUILD_IMGUI)
250250 PUBLIC "imgui/backends"
251251 )
252252
253+ # ImPlot
254+ add_library (implot STATIC
255+ "implot/implot.h"
256+ "implot/implot_internal.h"
257+ "implot/implot.cpp"
258+ "implot/implot_items.cpp"
259+ )
260+ target_include_directories (implot
261+ PUBLIC "imgui"
262+ )
263+ target_link_libraries (implot PUBLIC imgui)
264+ target_compile_definitions (implot PUBLIC IMPLOT_DEBUG IMPLOT_DLL_EXPORT)
265+ set_property (TARGET implot PROPERTY CXX_STANDARD 11)
266+ if (MSVC )
267+ target_compile_options (implot PRIVATE /MT /W4 /WX /arch:AVX2 /fp:fast /permissive-)
268+ else ()
269+ target_compile_options (implot PRIVATE -Wall -Wextra -pedantic -Werror -mavx2 -Ofast)
270+ endif ()
253271endif ()
254272
255273add_library (aesGladman OBJECT
You can’t perform that action at this time.
0 commit comments