initial attempt to cleanup dead code from the dropped engine versions: 4.22 to 4.26
This commit is contained in:
@@ -88,7 +88,6 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
List<string> Architectures = ToolChain.GetAllArchitectures();
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
||||
|
||||
#if UE_5_1_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
@@ -142,18 +141,8 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
|
||||
#elif UE_4_26_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v17"));
|
||||
#elif UE_4_25_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v16"));
|
||||
#elif UE_4_24_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v15"));
|
||||
#elif UE_4_23_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v15"));
|
||||
#elif UE_4_22_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v13"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported compiler!");
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Win64)
|
||||
@@ -165,19 +154,17 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
case WindowsCompiler.VisualStudio2022:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
|
||||
break;
|
||||
#endif
|
||||
#if UE_4_22_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2019:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||
break;
|
||||
#endif
|
||||
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||
#if ! UE_5_0_OR_LATER && UE_4_27_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2017:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
Debug.Assert(false, "Unsupported compiler!");
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -220,7 +207,6 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
List<string> Architectures = ToolChain.GetAllArchitectures();
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
||||
|
||||
#if UE_5_1_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
@@ -274,18 +260,8 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
|
||||
#elif UE_4_27_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
|
||||
#elif UE_4_26_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v17"));
|
||||
#elif UE_4_25_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v16"));
|
||||
#elif UE_4_24_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v15"));
|
||||
#elif UE_4_23_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v15"));
|
||||
#elif UE_4_22_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v13"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported compiler!");
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Win64)
|
||||
@@ -297,19 +273,17 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
case WindowsCompiler.VisualStudio2022:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
|
||||
break;
|
||||
#endif
|
||||
#if UE_4_22_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2019:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||
break;
|
||||
#endif
|
||||
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||
#if ! UE_5_0_OR_LATER && UE_4_27_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2017:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
Debug.Assert(false, "Unsupported compiler!");
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user