mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
meson: add 'tools' and 'examples' options
To optionally disable build of those. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/203>
This commit is contained in:
parent
9f202a0a72
commit
2cd8e6d0db
2 changed files with 15 additions and 4 deletions
|
@ -241,10 +241,14 @@ python3 = import('python').find_installation()
|
|||
configinc = include_directories('.')
|
||||
subdir('ges')
|
||||
subdir('plugins')
|
||||
if not get_option('tools').disabled()
|
||||
subdir('tools')
|
||||
endif
|
||||
subdir('pkgconfig')
|
||||
subdir('tests')
|
||||
if not get_option('examples').disabled()
|
||||
subdir('examples')
|
||||
endif
|
||||
subdir('docs')
|
||||
|
||||
override_detector = '''
|
||||
|
|
|
@ -1,13 +1,20 @@
|
|||
# Common feature options
|
||||
option('doc', type : 'feature', value : 'auto', yield: true,
|
||||
description: 'Enable documentation.')
|
||||
option('examples', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Build examples')
|
||||
option('introspection', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Generate gobject-introspection bindings')
|
||||
option('tests', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Build and enable unit tests')
|
||||
option('tools', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Build ges-launch command line tool')
|
||||
|
||||
# GES options
|
||||
option('pygi-overrides-dir', type : 'string', value : '',
|
||||
description: 'Path to pygobject overrides directory')
|
||||
option('xptv', type : 'feature', value : 'auto',
|
||||
description : 'Build the deprecated xptv formater')
|
||||
option('doc', type : 'feature', value : 'auto', yield: true,
|
||||
description: 'Enable documentation.')
|
||||
option('python', type : 'feature', value : 'auto', yield: true,
|
||||
description: 'Enable python formatters.')
|
||||
option('libpython-dir', type : 'string', value : '',
|
||||
|
|
Loading…
Reference in a new issue