mirror of https://github.com/ArduPilot/ardupilot
wscript: Add enable-scripting option
This commit is contained in:
parent
580c9d6ad9
commit
82dad7b732
10
wscript
10
wscript
|
@ -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):
|
|||
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…
Reference in New Issue