Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/SupportedConfigurationsAttribute.cs
Ben Marsh 13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00

32 lines
943 B
C#

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