/// <summary> /// Return the platform toolset string to write into the project configuration /// </summary> /// <param name="InPlatform"> The UnrealTargetPlatform being built</param> /// <param name="InConfiguration"> The UnrealTargetConfiguration being built</param> /// <param name="InProjectFileFormat">The version of Visual Studio to target</param> /// <param name="ProjectFileBuilder">String builder for the project file</param> /// <returns>string The custom configuration section for the project file; Empty string if it doesn't require one</returns> public override void GetVisualStudioPlatformToolsetString(UnrealTargetPlatform InPlatform, UnrealTargetConfiguration InConfiguration, VCProjectFileFormat InProjectFileFormat, StringBuilder ProjectFileBuilder) { VCProjectFileGenerator.AppendPlatformToolsetProperty(ProjectFileBuilder, InProjectFileFormat); if (IsVSAndroidSupportInstalled() || !IsNsightInstalled(InProjectFileFormat)) { } else { ProjectFileBuilder.AppendLine(" <AndroidNativeAPI>UseTarget</AndroidNativeAPI>"); } }
/// <summary> /// Return the platform toolset string to write into the project configuration /// </summary> /// <param name="InPlatform"> The UnrealTargetPlatform being built</param> /// <param name="InConfiguration"> The UnrealTargetConfiguration being built</param> /// <param name="InProjectFileFormat"> The verison of VS</param> /// <param name="ProjectFileBuilder">String builder for the project file</param> /// <returns>string The custom configuration section for the project file; Empty string if it doesn't require one</returns> public override void GetVisualStudioPlatformToolsetString(UnrealTargetPlatform InPlatform, UnrealTargetConfiguration InConfiguration, VCProjectFileFormat InProjectFileFormat, StringBuilder ProjectFileBuilder) { VCProjectFileGenerator.AppendPlatformToolsetProperty(ProjectFileBuilder, InProjectFileFormat); }