Nuke.Unreal
Build Unreal apps in Style.
Loading...
Searching...
No Matches
AndroidProcessorArchitecture.cs
1using System;
2using System.ComponentModel;
3using System.Linq;
4using Newtonsoft.Json;
5using Nuke.Common.Tooling;
6
7namespace Nuke.Unreal
8{
9 [TypeConverter(typeof(TypeConverter<AndroidProcessorArchitecture>))]
10 [JsonConverter(typeof(EnumerationJsonConverter<AndroidProcessorArchitecture>))]
11 public class AndroidProcessorArchitecture : Enumeration
12 {
13 public static readonly AndroidProcessorArchitecture Arm = new()
14 {
15 Value = nameof(Arm),
16 AltName = "arm",
17 AbiName = "armeabi-v7a"
18 };
19 public static readonly AndroidProcessorArchitecture Arm64 = new()
20 {
21 Value = nameof(Arm64),
22 AltName = "aarch64",
23 AbiName = "arm64-v8a"
24 };
25 public static readonly AndroidProcessorArchitecture X86 = new()
26 {
27 Value = nameof(X86),
28 AltName = "i386",
29 AbiName = "x86"
30 };
31 public static readonly AndroidProcessorArchitecture X86_64 = new()
32 {
33 Value = nameof(X86_64),
34 AltName = "x86_64",
35 AbiName = "x86_64"
36 };
37
38 public required string AltName { get; init; }
39 public required string AbiName { get; init; }
40
41 public static implicit operator string(AndroidProcessorArchitecture configuration)
42 {
43 return configuration.Value;
44 }
45 }
46}