Waf: Display debug config into config summary

This commit is contained in:
Pierre Kancir 2021-05-21 10:51:19 +02:00 committed by Andrew Tridgell
parent 7e389afbec
commit 86f39d354f
1 changed files with 6 additions and 0 deletions

View File

@ -362,6 +362,12 @@ def configure(cfg):
else: else:
cfg.end_msg('disabled', color='YELLOW') cfg.end_msg('disabled', color='YELLOW')
cfg.start_msg('Debug build')
if cfg.env.DEBUG:
cfg.end_msg('enabled')
else:
cfg.end_msg('disabled', color='YELLOW')
cfg.env.append_value('GIT_SUBMODULES', 'mavlink') cfg.env.append_value('GIT_SUBMODULES', 'mavlink')
cfg.env.prepend_value('INCLUDES', [ cfg.env.prepend_value('INCLUDES', [