mconf: print core options for subprojects

Looking in the right dictionary is pretty useful, actually.
pull/8683/head
Dylan Baker 4 years ago committed by Xavier Claessens
parent e308f116cb
commit 8fa7f3a9c3
  1. 6
      mesonbuild/mconf.py

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

Loading…
Cancel
Save