Exemple #1
0
 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)
Exemple #2
0
 def options_list(self, option):
     print_information("Option '{}'".format(option), self.options[option])
Exemple #3
0
 def options_info(self):
     print_information("Options", self.options)
Exemple #4
0
 def dependencies_list(self):
     print_information("Dependencies", self.dependencies)
Exemple #5
0
 def list_(self):
     print_information("Sources", self.sources)