mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-11 04:27:48 -05:00
build-sys: add option to disable building utils
This commit is contained in:
parent
cfd8fb9398
commit
81e5bfcec3
3 changed files with 10 additions and 1 deletions
|
|
@ -1021,6 +1021,10 @@ message('\n '.join(summary))
|
|||
|
||||
# Sanity checks
|
||||
|
||||
if not get_option('daemon') and not get_option('client')
|
||||
error('You disabled daemon and client. There is nothing to build!')
|
||||
endif
|
||||
|
||||
if get_option('daemon') and not speex_dep.found() and not webrtc_dep.found() and not get_option('adrian-aec')
|
||||
error('At least one echo canceller implementation must be available!')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ option('daemon',
|
|||
option('client',
|
||||
type : 'boolean', value : true,
|
||||
description : 'Build and install pulseaudio client libraries and utilities')
|
||||
option('utils',
|
||||
type : 'boolean', value : true,
|
||||
description : 'Build and install pulseaudio cli utilities')
|
||||
option('doxygen',
|
||||
type : 'boolean', value : true,
|
||||
description : 'Enable building and installation of documentation generated with doxygen')
|
||||
|
|
|
|||
|
|
@ -222,4 +222,6 @@ endif
|
|||
if get_option('tests')
|
||||
subdir('tests')
|
||||
endif
|
||||
subdir('utils')
|
||||
if get_option('utils')
|
||||
subdir('utils')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue