Browse Source

wscript: Add enable-scripting option

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
82dad7b732
  1. 10
      wscript

10
wscript

@ -147,6 +147,10 @@ configuration in order to save typing. @@ -147,6 +147,10 @@ configuration in order to save typing.
default=False,
help="Enable SFML graphics library")
g.add_option('--enable-scripting', action='store_true',
default=False,
help="Enable onboard scripting engine")
g.add_option('--static',
action='store_true',
default=False,
@ -234,6 +238,12 @@ def configure(cfg): @@ -234,6 +238,12 @@ def configure(cfg):
else:
cfg.end_msg('disabled', color='YELLOW')
cfg.start_msg('Scripting')
if cfg.options.enable_scripting:
cfg.end_msg('enabled')
else:
cfg.end_msg('disabled', color='YELLOW')
cfg.env.append_value('GIT_SUBMODULES', 'mavlink')
cfg.env.prepend_value('INCLUDES', [

Loading…
Cancel
Save