gplugin/gplugin

Replace add_global_arguments with add_project_arguments.
develop
2017-06-09, Elliott Sales de Andrade
9771039fbf02
Replace add_global_arguments with add_project_arguments.

The latter is now the recommended function to call, though we don't
use any subprojects for this to really matter.
###############################################################################
# Options
###############################################################################
option(
'gobject-introspection',
type : 'boolean', value : true,
description : 'Whether or not to build a GObject Introspection type library'
)
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'testing',
type : 'boolean', value : true,
description : 'Whether or not to run unit tests while compiling'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'gtk3',
type : 'boolean', value : true,
description : 'Whether or not to build the gtk3 library'
)
option(
'lua',
type : 'boolean', value : true,
description : 'Whether or not to build the Lua plugin loader'
)
option(
'moonscript-tests',
type : 'boolean', value : false,
description : 'Whether or not to run the moonscript tests'
)
option(
'perl',
type : 'boolean', value : false,
description : 'Whether or not to build the Perl plugin loader'
)
option(
'python',
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'
)