add support for msvc 2017 to the build.cs files

This commit is contained in:
Mamadou Babaei
2022-12-02 12:38:26 +01:00
parent 2ba196f8ab
commit 9575815f89
2 changed files with 15 additions and 0 deletions
@@ -133,6 +133,11 @@ public class SenseGloveConnectImpl : ModuleRules
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_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported compiler!"); Debug.Assert(false, "Unsupported compiler!");
@@ -222,6 +227,11 @@ public class SenseGloveConnectImpl : ModuleRules
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_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported compiler!"); Debug.Assert(false, "Unsupported compiler!");
@@ -132,6 +132,11 @@ public class SenseGloveCoreImpl : ModuleRules
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_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
#endif #endif
default: default:
Debug.Assert(false, "Unsupported compiler!"); Debug.Assert(false, "Unsupported compiler!");