Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/SupportedConfigurationsAttribute.cs
Ben Marsh 68f5abeb09 UBT: Convert UnrealBuildTool to use nullable references.
#rb none
#rnx

[CL 14960546 by Ben Marsh in ue5-main branch]
2020-12-20 18:47:42 -04:00

32 lines
930 B
C#

// Copyright 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;
}
}
}