Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/Configuration/TargetInfo.cs
ben marsh cf4a18955c Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4718806 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4718825 by ben marsh in Dev-Networking branch]
2019-01-14 12:15:37 -05:00

69 lines
2.0 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Tools.DotNETCommon;
namespace UnrealBuildTool
{
/// <summary>
/// Information about a target, passed along when creating a module descriptor
/// </summary>
public class TargetInfo
{
/// <summary>
/// Name of the target
/// </summary>
public readonly string Name;
/// <summary>
/// The platform that the target is being built for
/// </summary>
public readonly UnrealTargetPlatform Platform;
/// <summary>
/// The configuration being built
/// </summary>
public readonly UnrealTargetConfiguration Configuration;
/// <summary>
/// Architecture that the target is being built for (or an empty string for the default)
/// </summary>
public readonly string Architecture;
/// <summary>
/// The project containing the target
/// </summary>
public readonly FileReference ProjectFile;
/// <summary>
/// The current build version
/// </summary>
public ReadOnlyBuildVersion Version
{
get { return ReadOnlyBuildVersion.Current; }
}
/// <summary>
/// Constructs a TargetInfo for passing to the TargetRules constructor.
/// </summary>
/// <param name="Name">Name of the target being built</param>
/// <param name="Platform">The platform that the target is being built for</param>
/// <param name="Configuration">The configuration being built</param>
/// <param name="Architecture">The architecture being built for</param>
/// <param name="ProjectFile">Path to the project file containing the target</param>
public TargetInfo(string Name, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, string Architecture, FileReference ProjectFile)
{
this.Name = Name;
this.Platform = Platform;
this.Configuration = Configuration;
this.Architecture = Architecture;
this.ProjectFile = ProjectFile;
}
}
}