mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-17 05:33:50 -04: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
|
# 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')
|
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!')
|
error('At least one echo canceller implementation must be available!')
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ option('daemon',
|
||||||
option('client',
|
option('client',
|
||||||
type : 'boolean', value : true,
|
type : 'boolean', value : true,
|
||||||
description : 'Build and install pulseaudio client libraries and utilities')
|
description : 'Build and install pulseaudio client libraries and utilities')
|
||||||
|
option('utils',
|
||||||
|
type : 'boolean', value : true,
|
||||||
|
description : 'Build and install pulseaudio cli utilities')
|
||||||
option('doxygen',
|
option('doxygen',
|
||||||
type : 'boolean', value : true,
|
type : 'boolean', value : true,
|
||||||
description : 'Enable building and installation of documentation generated with doxygen')
|
description : 'Enable building and installation of documentation generated with doxygen')
|
||||||
|
|
|
||||||
|
|
@ -222,4 +222,6 @@ endif
|
||||||
if get_option('tests')
|
if get_option('tests')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
subdir('utils')
|
if get_option('utils')
|
||||||
|
subdir('utils')
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue