mesa/src/imgui/meson.build
Valentine Burley 92623d2447 imgui: Silence build warnings for imgui
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>
2025-09-16 06:16:19 +00:00

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)
)