meson: rename gtkdoc option to gtk_doc

This commit is contained in:
Tim-Philipp Müller 2018-05-21 23:12:22 +01:00
parent d3bd3e0400
commit 75b7ba5481
2 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ endif
if build_machine.system() == 'windows' if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows') message('Disabling gtk-doc while building on Windows')
elif not get_option('gtkdoc') elif not get_option('gtk_doc')
message('gtk-doc is disabled via options') message('gtk-doc is disabled via options')
else else
if find_program('gtkdoc-scan', required : false).found() if find_program('gtkdoc-scan', required : false).found()

View File

@ -20,7 +20,7 @@ option('install_plugins_helper', type: 'string', value: '',
# Common options # Common options
option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true) option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true)
option('examples', type : 'boolean', value : true, yield : true) option('examples', type : 'boolean', value : true, yield : true)
option('gtkdoc', type : 'boolean', value : true, yield : true, option('gtk_doc', type : 'boolean', value : true, yield : true,
description : 'Build API documentation with gtk-doc') description : 'Build API documentation with gtk-doc')
option('introspection', type : 'boolean', value : true, yield : true, option('introspection', type : 'boolean', value : true, yield : true,
description : 'Generate gobject-introspection bindings') description : 'Generate gobject-introspection bindings')