glib/gio/xdgmime/meson.build
Nirbheek Chauhan bd22bb9898 meson: Use files() for gio sources and headers
This allows them to be fetched with subproject().get_variable(). Needed
for generating Gio-2.0.gir in the gobject-introspection meson port.
2017-11-23 23:03:57 +05:30

17 lines
389 B
Meson

xdgmime_sources = files(
'xdgmime.c',
'xdgmimealias.c',
'xdgmimecache.c',
'xdgmimeglob.c',
'xdgmimeicon.c',
'xdgmimeint.c',
'xdgmimemagic.c',
'xdgmimeparent.c',
)
xdgmime_lib = static_library('xdgmime',
sources : xdgmime_sources,
include_directories : [configinc],
pic : true,
c_args : [ '-DHAVE_CONFIG_H', '-DXDG_PREFIX=_gio_xdg' ] + glib_hidden_visibility_args)