Browse Source

waf: make all options belong to an option group

That makes it easier for the user to distinguish between a general waf option
and project specific option.
master
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
fd88e39408
  1. 9
      wscript

9
wscript

@ -40,16 +40,17 @@ def init(ctx): @@ -40,16 +40,17 @@ def init(ctx):
def options(opt):
opt.load('ardupilotwaf')
boards_names = boards.get_boards_names()
opt.load('compiler_cxx compiler_c waf_unit_test python')
opt.add_option('--board',
g = opt.add_option_group('Ardupilot configure options')
boards_names = boards.get_boards_names()
g.add_option('--board',
action='store',
choices=boards_names,
default='sitl',
help='Target board to build, choices are %s' % boards_names)
g = opt.add_option_group('Check options')
g = opt.add_option_group('Ardupilot check options')
g.add_option('--check-verbose',
action='store_true',
help='Output all test programs')

Loading…
Cancel
Save