add initial ue5.2 support to the build system along with linux third-party libraries
This commit is contained in:
@@ -83,6 +83,7 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
if (Target.Platform == UnrealTargetPlatform.Android)
|
||||
{
|
||||
#if ! UE_5_2_OR_LATER
|
||||
IAndroidToolChain ToolChain = AndroidExports.CreateToolChain(Target.ProjectFile);
|
||||
List<string> Architectures = ToolChain.GetAllArchitectures();
|
||||
foreach (string Arch in Architectures)
|
||||
@@ -95,13 +96,18 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "oculus"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
#else
|
||||
Debug.Assert(false, "Developing for Android on UE 5.2 is not yet supported!");
|
||||
#endif
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Linux)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_0_OR_LATER
|
||||
#if UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#elif UE_5_0_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
|
||||
@@ -178,6 +184,7 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
if (Target.Platform == UnrealTargetPlatform.Android)
|
||||
{
|
||||
#if ! UE_5_2_OR_LATER
|
||||
IAndroidToolChain ToolChain = AndroidExports.CreateToolChain(Target.ProjectFile);
|
||||
List<string> Architectures = ToolChain.GetAllArchitectures();
|
||||
foreach (string Arch in Architectures)
|
||||
@@ -190,13 +197,18 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "oculus"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
#else
|
||||
Debug.Assert(false, "Developing for Android on UE 5.2 is not yet supported!");
|
||||
#endif
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Linux)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_0_OR_LATER
|
||||
#if UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#elif UE_5_0_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
|
||||
|
||||
Reference in New Issue
Block a user