def info(self, all_, targets, subprojects): if not targets and not subprojects: all_ = True if all_ or targets: print() print("Targets:") if self.targets: default_target_name = self.targets["_default"].name for target_name in self.targets: if target_name != "_default": print(" ", target_name, "(default)" if target_name == default_target_name else "") else: print(" (none)") if all_ or subprojects: print() print_information("Subprojects", self.subprojects)
def options_list(self, option): print_information("Option '{}'".format(option), self.options[option])
def options_info(self): print_information("Options", self.options)
def dependencies_list(self): print_information("Dependencies", self.dependencies)
def list_(self): print_information("Sources", self.sources)