add support for msvc 2017 to the build.cs files

This commit is contained in:
Mamadou Babaei
2022-12-02 12:39:44 +01:00
parent 930895921a
commit 4131bc4013
2 changed files with 15 additions and 0 deletions
@@ -133,6 +133,11 @@ public class SenseGloveConnectImpl : ModuleRules
case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif
default:
Debug.Assert(false, "Unsupported compiler!");
@@ -222,6 +227,11 @@ public class SenseGloveConnectImpl : ModuleRules
case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif
default:
Debug.Assert(false, "Unsupported compiler!");
@@ -132,6 +132,11 @@ public class SenseGloveCoreImpl : ModuleRules
case WindowsCompiler.VisualStudio2019:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif
default:
Debug.Assert(false, "Unsupported compiler!");