@FeatureNew('alias_target', '0.52.0')
@noKwargs
def func_alias_target(self, node, args, kwargs):
    if (len(args) < 2):
        raise InvalidCode('alias_target takes at least 2 arguments.')
    name = args[0]
    if (not isinstance(name, str)):
        raise InterpreterException('First argument must be a string.')
    deps = unholder(listify(args[1:]))
    for d in deps:
        if (not isinstance(d, (build.BuildTarget, build.CustomTarget))):
            raise InterpreterException('Depends items must be build targets.')
    tg = RunTargetHolder(build.AliasTarget(name, deps, self.subdir, self.subproject), self)
    self.add_target(name, tg.held_object)
    return tg
@FeatureNew('alias_target', '0.52.0')
@noKwargs
def func_alias_target(self, node, args, kwargs):
    if (len(args) < 2):
        raise InvalidCode('alias_target takes at least 2 arguments.')
    name = args[0]
    if (not isinstance(name, str)):
        raise InterpreterException('First argument must be a string.')
    deps = unholder(listify(args[1:]))
    for d in deps:
        if (not isinstance(d, (build.BuildTarget, build.CustomTarget))):
            raise InterpreterException('Depends items must be build targets.')
    tg = RunTargetHolder(build.AliasTarget(name, deps, self.subdir, self.subproject), self)
    self.add_target(name, tg.held_object)
    return tg