code: def main_target_alternative (self, target):
          
          assert isinstance(target, AbstractTarget)
          target.project ().add_alternative (target)
          return target
docs: Registers the specified target as a main target alternatives.
              Returns 'target'.