mconf: print core options for subprojects

Looking in the right dictionary is pretty useful, actually.
This commit is contained in:
Dylan Baker 2021-04-20 13:25:08 -07:00 committed by Xavier Claessens
parent e308f116cb
commit 8fa7f3a9c3
1 changed files with 4 additions and 2 deletions

View File

@ -228,8 +228,10 @@ class Conf:
if subproject == '':
continue
self.add_section('Subproject ' + subproject)
if subproject in core_options:
self.print_options('Core options', core_options[subproject])
if subproject in host_core_options:
self.print_options('Core options', host_core_options[subproject])
if subproject in build_core_options and show_build_options:
self.print_options('', build_core_options[subproject])
if subproject in host_compiler_options:
self.print_options('Compiler options', host_compiler_options[subproject])
if subproject in build_compiler_options and show_build_options: