Nuke.Unreal
Build Unreal apps in Style.
Loading...
Searching...
No Matches
UnrealConfig.cs
1using System;
2using System.ComponentModel;
3using System.Linq;
4using Newtonsoft.Json;
5using Nuke.Common.Tooling;
6
7namespace Nuke.Unreal
8{
9 /// <summary>
10 /// Build configurations UBT supports
11 /// </summary>
12 [TypeConverter(typeof(TypeConverter<UnrealConfig>))]
13 [JsonConverter(typeof(EnumerationJsonConverter<UnrealConfig>))]
14 public class UnrealConfig : Enumeration
15 {
16 public static readonly UnrealConfig Debug = new() { Value = nameof(Debug) };
17 public static readonly UnrealConfig DebugGame = new() { Value = nameof(DebugGame) };
18 public static readonly UnrealConfig Development = new() { Value = nameof(Development) };
19 public static readonly UnrealConfig Shipping = new() { Value = nameof(Shipping) };
20 public static readonly UnrealConfig Test = new() { Value = nameof(Test) };
21
22 public static implicit operator string(UnrealConfig configuration)
23 {
24 return configuration.Value;
25 }
26 }
27}
Build configurations UBT supports.