mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-30 17:36:16 +01:00
6761bb2f57
Those lists were getting very long. We can’t quite entirely automate the list generation since Meson doesn’t have a range() function, but we can at least combine three of them into one. Signed-off-by: Philip Withnall <withnall@endlessm.com>
35 lines
925 B
Meson
35 lines
925 B
Meson
# The list of minor versions in the 2.x.x series which have had
|
|
# GLIB_AVAILABLE_IN_* macros. This should include the current unreleased stable
|
|
# version.
|
|
#
|
|
# FIXME: It would be good to be able to generate this list:
|
|
# https://github.com/mesonbuild/meson/issues/5026
|
|
stable_2_series_versions = [
|
|
'26', '28', '30', '32', '34', '36', '38',
|
|
'40', '42', '44', '46', '48', '50', '52', '54', '56', '58',
|
|
'60', '62',
|
|
]
|
|
|
|
ignore_decorators = [
|
|
'GLIB_VAR',
|
|
'G_GNUC_INTERNAL',
|
|
'G_GNUC_WARN_UNUSED_RESULT',
|
|
'GLIB_AVAILABLE_IN_ALL',
|
|
]
|
|
|
|
foreach version : stable_2_series_versions
|
|
ignore_decorators += [
|
|
'GLIB_AVAILABLE_IN_2_' + version,
|
|
'GLIB_DEPRECATED_IN_2_' + version,
|
|
'GLIB_DEPRECATED_IN_2_' + version + '_FOR',
|
|
]
|
|
endforeach
|
|
|
|
gtkdoc_common_scan_args = [
|
|
'--deprecated-guards=G_DISABLE_DEPRECATED',
|
|
'--ignore-decorators=' + '|'.join(ignore_decorators),
|
|
]
|
|
|
|
subdir('gio')
|
|
subdir('glib')
|
|
subdir('gobject') |