CI: enable gcc static analyzer

This commit is contained in:
Consolatis 2024-04-08 17:32:16 +02:00
parent c9de358075
commit b959e23d6d
3 changed files with 16 additions and 0 deletions

View file

@ -87,6 +87,10 @@ else
endif
conf_data.set10('HAVE_RSVG', have_rsvg)
if get_option('static_analyzer').enabled()
add_project_arguments(['-fanalyzer'], language: 'c')
endif
msgfmt = find_program('msgfmt', required: get_option('nls'))
if msgfmt.found()
source_root = meson.current_source_dir()