grim/gplugin

Make doc/introspection options yield to parent.
develop
2020-08-22, Elliott Sales de Andrade
71e98ba93d21
Make doc/introspection options yield to parent.

This allows `meson -Ddoc=false` to automatically propagate from Pidgin to the gplugin subproject, without having to specify `-Dgplugin:doc=false`.

Reviewed at https://reviews.imfreedom.org/r/87/
option(
'doc',
type : 'boolean', value : true, yield : true,
description : 'build documentation with gtk-doc'
)
option(
'introspection',
type : 'boolean', value : true, yield : true,
description : 'Whether or not to build a GObject Introspection type library'
)
option(
'gtk3',
type : 'boolean', value : true,
description : 'Whether or not to build the gtk3 library'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'lua',
type : 'boolean', value : true,
description : 'Whether or not to build the Lua plugin loader'
)
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'perl',
type : 'boolean', value : true,
description : 'Whether or not to build the Perl plugin loader'
)
option(
'python3',
type : 'boolean', value : true,
description : 'Whether or not to build the Python 3.x plugin loader'
)
option(
'tcc',
type : 'boolean', value : false,
description : 'Whether or not to build the TCC plugin loader'
)
option(
'vapi',
type : 'boolean', value : true,
description : 'Whether or not to build vapi files for gplugin'
)