project('gst-plugins-bad', 'c', 'cpp',
- version : '1.21.0.1',
+ version : '1.22.3',
meson_version : '>= 0.62',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
'/wd4146', # unary minus on unsigned (beware INT_MIN)
'/wd4244', # lossy type conversion (e.g. double -> int)
'/wd4305', # truncating type conversion (e.g. double -> float)
+ '/wd5051', # attribute 'attribute-name' requires at least 'standard-level'; ignored
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
]
endif
# Symbol visibility
-if cc.get_id() == 'msvc'
- export_define = '__declspec(dllexport) extern'
-elif cc.has_argument('-fvisibility=hidden')
+if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')
add_project_arguments('-fvisibility=hidden', language: 'cpp')
if have_objc
add_project_arguments('-fvisibility=hidden', language: 'objc')
endif
- export_define = 'extern __attribute__ ((visibility ("default")))'
-else
- export_define = 'extern'
endif
-# Passing this through the command line would be too messy
-cdata.set('GST_API_EXPORT', export_define)
-
# Disable strict aliasing
if cc.has_argument('-fno-strict-aliasing')
add_project_arguments('-fno-strict-aliasing', language: 'c')
'toolsdir=${exec_prefix}/bin',
'pluginsdir=${libdir}/gstreamer-1.0',
'datarootdir=${prefix}/share',
- 'datadir=${datarootdir}',
'girdir=${datadir}/gir-1.0',
'typelibdir=${libdir}/girepository-1.0']
configure_file(output : 'config.h', configuration : cdata)
+meson.add_dist_script('scripts/gen-changelog.py', meson.project_name(), '1.20.0', meson.project_version())
+
subdir('docs')
plugin_names = []