mpd/src/archive/meson.build
Max Kellermann 94592c1406 build with Meson instead of autotools
So long, autotools!  This is my last MPD related project to migrate
away from it.  It has its strengths, but also very obvious weaknesses
and weirdnesses.  Today, many of its quirks are not needed anymore,
and are cumbersome and slow.  Now welcome our new Meson overlords!
2018-10-14 23:41:38 +02:00

34 lines
648 B
Meson

archive_api = static_library(
'archive_api',
'ArchiveDomain.cxx',
'ArchiveLookup.cxx',
'ArchiveList.cxx',
include_directories: inc,
)
archive_api_dep = declare_dependency(
link_with: archive_api,
)
subdir('plugins')
conf.set('ENABLE_ARCHIVE', found_archive_plugin)
if not found_archive_plugin
archive_glue_dep = dependency('', required: false)
subdir_done()
endif
archive_glue = static_library(
'archive_glue',
'ArchivePlugin.cxx',
'../input/plugins/ArchiveInputPlugin.cxx',
include_directories: inc,
)
archive_glue_dep = declare_dependency(
link_with: archive_glue,
dependencies: [
archive_plugins_dep,
],
)