drop support for native toolchain v19, msvc v141 (2017), and thus ue 4.27 in the build system

This commit is contained in:
Mamadou Babaei
2023-06-16 02:12:08 +02:00
parent 07e484d65a
commit 687a35e37d
3 changed files with 15 additions and 36 deletions
+6
View File
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Removed
- Dropped support for the Epic Native Toolchain v19, MSVC v141 (Visual Studio 2017), and thus Unreal Engine 4.27.
## [1.4.3] - 2023-06-01 ## [1.4.3] - 2023-06-01
This is a hotfix release addressing a critical Android crash. This is a hotfix release addressing a critical Android crash.
@@ -87,10 +87,10 @@ public class SenseGloveConnectImpl : ModuleRules
#if UE_5_1_OR_LATER #if UE_5_1_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
#elif UE_4_27_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e"));
#else #else
Debug.Assert(false, "Developing for Android on UE versions older than 4.27 is not supported!"); Debug.Assert(false, "Developing for Android on UE versions older than 5.0 is not supported!");
#endif #endif
#if UE_5_2_OR_LATER #if UE_5_2_OR_LATER
@@ -151,8 +151,6 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -172,8 +170,6 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -185,18 +181,13 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
switch (Target.WindowsPlatform.Compiler) switch (Target.WindowsPlatform.Compiler)
{ {
#if UE_4_27_OR_LATER #if UE_5_0_OR_LATER
case WindowsCompiler.VisualStudio2022: case WindowsCompiler.VisualStudio2022:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
break; break;
case WindowsCompiler.VisualStudio2019: case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break; break;
#endif
#if ! UE_5_0_OR_LATER && UE_4_27_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
@@ -241,10 +232,10 @@ public class SenseGloveConnectImpl : ModuleRules
#if UE_5_1_OR_LATER #if UE_5_1_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
#elif UE_4_27_OR_LATER #elif UE_4_5_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e"));
#else #else
Debug.Assert(false, "Developing for Android on UE versions older than 4.27 is not supported!"); Debug.Assert(false, "Developing for Android on UE versions older than 5.0 is not supported!");
#endif #endif
#if UE_5_2_OR_LATER #if UE_5_2_OR_LATER
@@ -305,8 +296,6 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -326,8 +315,6 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -339,18 +326,13 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
switch (Target.WindowsPlatform.Compiler) switch (Target.WindowsPlatform.Compiler)
{ {
#if UE_4_27_OR_LATER #if UE_5_0_OR_LATER
case WindowsCompiler.VisualStudio2022: case WindowsCompiler.VisualStudio2022:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
break; break;
case WindowsCompiler.VisualStudio2019: case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break; break;
#endif
#if ! UE_5_0_OR_LATER && UE_4_27_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
@@ -86,10 +86,10 @@ public class SenseGloveCoreImpl : ModuleRules
#if UE_5_1_OR_LATER #if UE_5_1_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
#elif UE_4_27_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r21e"));
#else #else
Debug.Assert(false, "Developing for Android on UE versions older than 4.27 is not supported!"); Debug.Assert(false, "Developing for Android on UE versions older than 5.0 is not supported!");
#endif #endif
#if UE_5_2_OR_LATER #if UE_5_2_OR_LATER
@@ -150,8 +150,6 @@ public class SenseGloveCoreImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -171,8 +169,6 @@ public class SenseGloveCoreImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
#elif UE_5_0_OR_LATER #elif UE_5_0_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v20"));
#elif UE_4_27_OR_LATER
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v19"));
#else #else
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");
#endif #endif
@@ -184,18 +180,13 @@ public class SenseGloveCoreImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
switch (Target.WindowsPlatform.Compiler) switch (Target.WindowsPlatform.Compiler)
{ {
#if UE_4_27_OR_LATER #if UE_5_0_OR_LATER
case WindowsCompiler.VisualStudio2022: case WindowsCompiler.VisualStudio2022:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
break; break;
case WindowsCompiler.VisualStudio2019: case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142")); LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break; break;
#endif
#if ! UE_5_0_OR_LATER && UE_4_27_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported engine version or compiler!"); Debug.Assert(false, "Unsupported engine version or compiler!");