Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/SupportedConfigurationsAttribute.cs
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

32 lines
943 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnrealBuildTool
{
/// <summary>
/// Attribute which can be applied to a TargetRules-dervied class to indicate which configurations it supports
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class SupportedConfigurationsAttribute : Attribute
{
/// <summary>
/// Array of supported platforms
/// </summary>
public readonly UnrealTargetConfiguration[] Configurations;
/// <summary>
/// Initialize the attribute with a list of configurations
/// </summary>
/// <param name="Configurations">Variable-length array of configuration arguments</param>
public SupportedConfigurationsAttribute(params UnrealTargetConfiguration[] Configurations)
{
this.Configurations = Configurations;
}
}
}