2018-09-19 11:17:57 +00:00
|
|
|
# Feature options for plugins with no external deps
|
|
|
|
option('rtspclientsink', type : 'feature', value : 'auto')
|
|
|
|
|
2018-09-19 11:10:14 +00:00
|
|
|
# Common feature options
|
|
|
|
option('examples', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description : 'Build the examples')
|
|
|
|
option('tests', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description : 'Build and enable unit tests')
|
2018-07-25 11:52:20 +00:00
|
|
|
option('introspection', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description : 'Generate gobject-introspection bindings')
|
2018-09-19 11:10:14 +00:00
|
|
|
|
|
|
|
# Common options
|
2018-05-05 14:21:52 +00:00
|
|
|
option('package-name', type : 'string', yield : true,
|
2017-05-20 14:07:31 +00:00
|
|
|
description : 'package name to use in plugins')
|
2018-05-05 14:21:52 +00:00
|
|
|
option('package-origin', type : 'string',
|
|
|
|
value : 'Unknown package origin', yield : true,
|
2017-05-20 14:07:31 +00:00
|
|
|
description : 'package origin URL to use in plugins')
|
2018-10-22 09:29:24 +00:00
|
|
|
option('doc', type : 'feature', value : 'auto', yield: true,
|
|
|
|
description: 'Enable documentation.')
|
2020-04-08 14:40:42 +00:00
|
|
|
option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)')
|
|
|
|
option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)',
|
|
|
|
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
|
|
|
|
)
|
|
|
|
option('glib_checks', type : 'boolean', value : true, yield : true, description : 'Enable GLib checks such as API guards (see docs/macros.txt)',
|
|
|
|
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
|
|
|
|
)
|
|
|
|
|
|
|
|
# Deprecated, kept for backward compat
|
|
|
|
option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)',
|
|
|
|
deprecated: 'glib_debug')
|
|
|
|
option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
|
|
|
|
description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)',
|
|
|
|
deprecated: 'glib_assert')
|
|
|
|
option('glib-checks', type : 'feature', value : 'enabled', yield : true,
|
|
|
|
description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)',
|
|
|
|
deprecated: 'glib_checks')
|