mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
Avoid treating any warnings as errors in the third-party imgui code, and use Wno-error=stringop-overflow for code in Mesa. Suggested-by: @eric Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853>
11 lines
330 B
Meson
11 lines
330 B
Meson
libimgui_core = static_library(
|
|
'imgui_core',
|
|
files('imgui.cpp', 'imgui_draw.cpp', 'imgui_widgets.cpp'),
|
|
cpp_args : cpp.get_supported_arguments('-w', '-Wno-error'),
|
|
install : false
|
|
)
|
|
|
|
libimgui_core_dep = declare_dependency(
|
|
link_with : libimgui_core,
|
|
include_directories : include_directories('.', is_system : true)
|
|
)
|