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 87
87
[submodule "3rdparty/imgui "]
88
88
path = 3rdparty/imgui
89
89
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)
250
250
PUBLIC "imgui/backends"
251
251
)
252
252
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 ()
253
271
endif ()
254
272
255
273
add_library (aesGladman OBJECT
You can’t perform that action at this time.
0 commit comments