build-sys: meson: allow building client libraries only

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
This commit is contained in:
Igor V. Kovalenko 2021-04-18 13:13:52 +03:00 committed by PulseAudio Marge Bot
parent 1a73fb9eb9
commit 424580a901
9 changed files with 291 additions and 188 deletions

View file

@ -206,9 +206,11 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
subdir('pulse')
subdir('pulsecore')
subdir('daemon')
subdir('modules')
if get_option('daemon')
subdir('pulsecore')
subdir('daemon')
subdir('modules')
endif
if get_option('tests')
subdir('tests')
endif