mpd/src/neighbor/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

32 lines
627 B
Meson

if not get_option('neighbor')
conf.set('ENABLE_NEIGHBOR_PLUGINS', false)
neighbor_glue_dep = dependency('', required: false)
subdir_done()
endif
neighbor_api_dep = declare_dependency()
subdir('plugins')
conf.set('ENABLE_NEIGHBOR_PLUGINS', found_neighbor_plugin)
if not found_neighbor_plugin
neighbor_glue_dep = dependency('', required: false)
subdir_done()
endif
neighbor_glue = static_library(
'neighbor_glue',
'Glue.cxx',
'Registry.cxx',
include_directories: inc,
)
neighbor_glue_dep = declare_dependency(
link_with: neighbor_glue,
dependencies: [
neighbor_plugins_dep,
config_dep,
],
)