another attempt at fixing fab store submission build issues for ue 5.8 which also changes msvc third-binary selection behavior on windows

This commit is contained in:
Mamadou Babaei
2026-07-21 19:09:02 +02:00
parent b5f7bb47e2
commit dba1f239f4
15 changed files with 264 additions and 336 deletions
@@ -119,31 +119,25 @@ public class SGLoguruThirdPartyLibs : ModuleRules
else if (bIsWin64)
{
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
switch (Target.WindowsPlatform.Compiler)
Version compilerVersion = Version.Parse(Target.WindowsPlatform.CompilerVersion.ToString());
string toolsetVersion = $"{compilerVersion.Major}.{compilerVersion.Minor:D2}";
if (toolsetVersion == "14.50")
{
#if UE_5_7_OR_LATER
case WindowsCompiler.VisualStudio2026:
#if UE_5_8_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
#elif UE_5_7_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
#else
Debug.Assert(false, "Unsupported engine version or compiler!");
#endif
break;
#endif
case WindowsCompiler.VisualStudio2022:
#if UE_5_7_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
#elif UE_5_5_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
#else
Debug.Assert(false, "Unsupported engine version or compiler!");
#endif
break;
default:
Debug.Assert(false, "Unsupported engine version or compiler!");
break;
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
}
else if (toolsetVersion == "14.44")
{
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
}
else if (toolsetVersion == "14.38")
{
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
}
else
{
Debug.Assert(false, "Unsupported MSVC toolset!");
}
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));