From 169147ecd167fc619f1fc7f9af47f199cbfaa8b9 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Tue, 17 Feb 2026 15:31:01 +0100 Subject: [PATCH] remove ue 5.4 and epic native/cross toolchains v22 support from the build system for third-party libs --- .../SGBleThirdPartyLibs/SGBleThirdPartyLibs.Build.cs | 2 +- .../SGCommonThirdPartyLibs/SGCommonThirdPartyLibs.Build.cs | 6 +----- .../SGConnectShmThirdPartyLibs.Build.cs | 6 +----- .../SGConnectThirdPartyLibs.Build.cs | 6 +----- .../SGCoreShmThirdPartyLibs.Build.cs | 6 +----- .../SGCoreThirdPartyLibs/SGCoreThirdPartyLibs.Build.cs | 6 +----- .../SGFmtThirdPartyLibs/SGFmtThirdPartyLibs.Build.cs | 6 +----- .../SGLogThirdPartyLibs/SGLogThirdPartyLibs.Build.cs | 6 +----- .../SGLoguruThirdPartyLibs/SGLoguruThirdPartyLibs.Build.cs | 6 +----- .../SGSerialThirdPartyLibs/SGSerialThirdPartyLibs.Build.cs | 6 +----- .../SGWjwwoodSerialThirdPartyLibs.Build.cs | 6 +----- 11 files changed, 11 insertions(+), 51 deletions(-) diff --git a/Source/ThirdParty/SGBleThirdPartyLibs/SGBleThirdPartyLibs.Build.cs b/Source/ThirdParty/SGBleThirdPartyLibs/SGBleThirdPartyLibs.Build.cs index 8c6aa214..e277920a 100644 --- a/Source/ThirdParty/SGBleThirdPartyLibs/SGBleThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGBleThirdPartyLibs/SGBleThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGBleThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); diff --git a/Source/ThirdParty/SGCommonThirdPartyLibs/SGCommonThirdPartyLibs.Build.cs b/Source/ThirdParty/SGCommonThirdPartyLibs/SGCommonThirdPartyLibs.Build.cs index 43301c97..36e2253b 100644 --- a/Source/ThirdParty/SGCommonThirdPartyLibs/SGCommonThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGCommonThirdPartyLibs/SGCommonThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGCommonThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGCommonThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGCommonThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGConnectShmThirdPartyLibs/SGConnectShmThirdPartyLibs.Build.cs b/Source/ThirdParty/SGConnectShmThirdPartyLibs/SGConnectShmThirdPartyLibs.Build.cs index 159a188b..c1329561 100644 --- a/Source/ThirdParty/SGConnectShmThirdPartyLibs/SGConnectShmThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGConnectShmThirdPartyLibs/SGConnectShmThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGConnectShmThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGConnectShmThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGConnectShmThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGConnectThirdPartyLibs/SGConnectThirdPartyLibs.Build.cs b/Source/ThirdParty/SGConnectThirdPartyLibs/SGConnectThirdPartyLibs.Build.cs index 6fda48d0..25532123 100644 --- a/Source/ThirdParty/SGConnectThirdPartyLibs/SGConnectThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGConnectThirdPartyLibs/SGConnectThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGConnectThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGConnectThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGConnectThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGCoreShmThirdPartyLibs/SGCoreShmThirdPartyLibs.Build.cs b/Source/ThirdParty/SGCoreShmThirdPartyLibs/SGCoreShmThirdPartyLibs.Build.cs index fb7bfc8d..ff69bf9b 100644 --- a/Source/ThirdParty/SGCoreShmThirdPartyLibs/SGCoreShmThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGCoreShmThirdPartyLibs/SGCoreShmThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGCoreShmThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGCoreShmThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGCoreShmThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGCoreThirdPartyLibs/SGCoreThirdPartyLibs.Build.cs b/Source/ThirdParty/SGCoreThirdPartyLibs/SGCoreThirdPartyLibs.Build.cs index 96a224c6..3265eef8 100644 --- a/Source/ThirdParty/SGCoreThirdPartyLibs/SGCoreThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGCoreThirdPartyLibs/SGCoreThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGCoreThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGCoreThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGCoreThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGFmtThirdPartyLibs/SGFmtThirdPartyLibs.Build.cs b/Source/ThirdParty/SGFmtThirdPartyLibs/SGFmtThirdPartyLibs.Build.cs index 441159b3..4d0d2ab7 100644 --- a/Source/ThirdParty/SGFmtThirdPartyLibs/SGFmtThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGFmtThirdPartyLibs/SGFmtThirdPartyLibs.Build.cs @@ -69,7 +69,7 @@ public class SGFmtThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -90,8 +90,6 @@ public class SGFmtThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -110,8 +108,6 @@ public class SGFmtThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGLogThirdPartyLibs/SGLogThirdPartyLibs.Build.cs b/Source/ThirdParty/SGLogThirdPartyLibs/SGLogThirdPartyLibs.Build.cs index bb4c32b6..126a0e07 100644 --- a/Source/ThirdParty/SGLogThirdPartyLibs/SGLogThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGLogThirdPartyLibs/SGLogThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGLogThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGLogThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGLogThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGLoguruThirdPartyLibs/SGLoguruThirdPartyLibs.Build.cs b/Source/ThirdParty/SGLoguruThirdPartyLibs/SGLoguruThirdPartyLibs.Build.cs index 4c6eaeb5..8a22fc42 100644 --- a/Source/ThirdParty/SGLoguruThirdPartyLibs/SGLoguruThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGLoguruThirdPartyLibs/SGLoguruThirdPartyLibs.Build.cs @@ -69,7 +69,7 @@ public class SGLoguruThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -90,8 +90,6 @@ public class SGLoguruThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -110,8 +108,6 @@ public class SGLoguruThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGSerialThirdPartyLibs/SGSerialThirdPartyLibs.Build.cs b/Source/ThirdParty/SGSerialThirdPartyLibs/SGSerialThirdPartyLibs.Build.cs index b30c5b99..1f33184d 100644 --- a/Source/ThirdParty/SGSerialThirdPartyLibs/SGSerialThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGSerialThirdPartyLibs/SGSerialThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGSerialThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGSerialThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGSerialThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif diff --git a/Source/ThirdParty/SGWjwwoodSerialThirdPartyLibs/SGWjwwoodSerialThirdPartyLibs.Build.cs b/Source/ThirdParty/SGWjwwoodSerialThirdPartyLibs/SGWjwwoodSerialThirdPartyLibs.Build.cs index 660e96ad..4b6ab61d 100644 --- a/Source/ThirdParty/SGWjwwoodSerialThirdPartyLibs/SGWjwwoodSerialThirdPartyLibs.Build.cs +++ b/Source/ThirdParty/SGWjwwoodSerialThirdPartyLibs/SGWjwwoodSerialThirdPartyLibs.Build.cs @@ -64,7 +64,7 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules #if UE_5_6_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c")); -#elif UE_5_4_OR_LATER +#elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); @@ -85,8 +85,6 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif @@ -105,8 +103,6 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25")); #elif UE_5_5_OR_LATER LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23")); -#elif UE_5_4_OR_LATER - LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22")); #else Debug.Assert(false, "Unsupported engine version or compiler!"); #endif