talkatu/talkatu

Make doc/introspection options yield to parent.

2020-08-22, Elliott Sales de Andrade
2aca0bb872fb
Make doc/introspection options yield to parent.

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

Reviewed at https://reviews.imfreedom.org/r/86/
###############################################################################
# Options
###############################################################################
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'doc',
type : 'boolean', value : true, yield : true,
description : 'build documentation with gtk-doc'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'introspection',
type : 'boolean', value : true, yield : true,
description : 'build gobject-introspection support'
)
option(
'tests',
type : 'boolean', value : true,
description : 'run unit tests'
)
option(
'vapi',
type : 'boolean', value : true,
description : 'Whether or not to build vapi files for gplugin'
)