Add Switch platform
This commit is contained in:
1
Source/ThirdParty/freetype/freetype.Build.cs
vendored
1
Source/ThirdParty/freetype/freetype.Build.cs
vendored
@@ -40,6 +40,7 @@ public class freetype : DepsModule
|
||||
case TargetPlatform.Linux:
|
||||
case TargetPlatform.PS4:
|
||||
case TargetPlatform.Android:
|
||||
case TargetPlatform.Switch:
|
||||
options.OutputFiles.Add(Path.Combine(depsRoot, "libfreetype.a"));
|
||||
break;
|
||||
default: throw new InvalidPlatformException(options.Platform.Target);
|
||||
|
||||
3
Source/ThirdParty/mono-2.0/mono.Build.cs
vendored
3
Source/ThirdParty/mono-2.0/mono.Build.cs
vendored
@@ -88,6 +88,9 @@ public class mono : DepsModule
|
||||
options.DependencyFiles.Add(Path.Combine(depsRoot, "libmonosgen-2.0.so"));
|
||||
options.Libraries.Add(Path.Combine(depsRoot, "libmonosgen-2.0.so"));
|
||||
break;
|
||||
case TargetPlatform.Switch:
|
||||
// TODO: mono for Switch
|
||||
break;
|
||||
default: throw new InvalidPlatformException(options.Platform.Target);
|
||||
}
|
||||
|
||||
|
||||
1
Source/ThirdParty/ogg/ogg.Build.cs
vendored
1
Source/ThirdParty/ogg/ogg.Build.cs
vendored
@@ -39,6 +39,7 @@ public class ogg : DepsModule
|
||||
case TargetPlatform.Linux:
|
||||
case TargetPlatform.PS4:
|
||||
case TargetPlatform.Android:
|
||||
case TargetPlatform.Switch:
|
||||
options.OutputFiles.Add(Path.Combine(depsRoot, "libogg.a"));
|
||||
break;
|
||||
default: throw new InvalidPlatformException(options.Platform.Target);
|
||||
|
||||
1
Source/ThirdParty/vorbis/vorbis.Build.cs
vendored
1
Source/ThirdParty/vorbis/vorbis.Build.cs
vendored
@@ -45,6 +45,7 @@ public class vorbis : DepsModule
|
||||
options.OutputFiles.Add(Path.Combine(depsRoot, "libvorbisfile.a"));
|
||||
break;
|
||||
case TargetPlatform.PS4:
|
||||
case TargetPlatform.Switch:
|
||||
options.OutputFiles.Add(Path.Combine(depsRoot, "libvorbis.a"));
|
||||
break;
|
||||
default: throw new InvalidPlatformException(options.Platform.Target);
|
||||
|
||||
Reference in New Issue
Block a user