/// <summary> /// Creates a context for the given project on the current platform. /// </summary> /// <param name="ProjectFile">The project file for the current target</param> /// <returns>New platform context object</returns> public override UEBuildPlatformContext CreateContext(FileReference ProjectFile) { WindowsPlatformContext Context = new WindowsPlatformContext(Platform, ProjectFile); if (Context.SupportWindowsXP) { // There are still issues with VS2015's support for XP. For now we need to lock it to the 2013 toolchain. CachedCompiler = WindowsCompiler.VisualStudio2013; } bNeedsLegacyStdioDefinitionsLib = Compiler == WindowsCompiler.VisualStudio2015 && !Context.SupportWindowsXP; return(Context); }
/// <summary> /// Creates a context for the given project on the current platform. /// </summary> /// <param name="ProjectFile">The project file for the current target</param> /// <returns>New platform context object</returns> public override UEBuildPlatformContext CreateContext(FileReference ProjectFile) { WindowsPlatformContext Context = new WindowsPlatformContext(Platform, ProjectFile); if (Context.SupportWindowsXP) { // There are still issues with VS2015's support for XP. For now we need to lock it to the 2013 toolchain. CachedCompiler = WindowsCompiler.VisualStudio2013; } return Context; }