// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace UnrealBuildTool
{
///
/// Attribute which can be applied to a TargetRules-dervied class to indicate which configurations it supports
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class SupportedConfigurationsAttribute : Attribute
{
///
/// Array of supported platforms
///
public UnrealTargetConfiguration[] Configurations { get; }
///
/// Initialize the attribute with a list of configurations
///
/// Variable-length array of configuration arguments
public SupportedConfigurationsAttribute(params UnrealTargetConfiguration[] configurations)
{
Configurations = configurations;
}
}
}