You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
826 B
C#
28 lines
826 B
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Threading;
|
|
using System.Reflection;
|
|
using AutomationTool;
|
|
using UnrealBuildTool;
|
|
|
|
[Help("Builds the current package for IOS")]
|
|
class IOSBuildCookPackage : BuildCookRun
|
|
{
|
|
public override void ExecuteBuild()
|
|
{
|
|
var Params = SetupParams();
|
|
Params.ClientTargetPlatforms.Add(UnrealTargetPlatform.IOS);
|
|
|
|
// if the commandline isn't already set, then set it now
|
|
if (String.IsNullOrEmpty(Params.StageCommandline))
|
|
{
|
|
Params.StageCommandline = String.Format("{0} {1}", Params.IsCodeBasedProject ?
|
|
Params.ClientTargetPlatformInstances[0].LocalPathToTargetPath(Params.RawProjectPath, CmdEnv.LocalRoot) : "", Params.MapToRun).Trim();
|
|
}
|
|
|
|
DoBuildCookRun(Params);
|
|
}
|
|
}
|