Files @ f80ff5e0dc38
Branch filter:

Location: menu.hg/Source/CardinalMenuServer.Target.cs - annotation

tdelude
UE4.14 update, menu red bar now spans across all the way up to 4k displays, credits modified
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class CardinalMenuServerTarget : TargetRules
{
    public CardinalMenuServerTarget(TargetInfo Target)
    {
        Type = TargetType.Server;
    }

    //
    // TargetRules interface.
    //
    public override void SetupBinaries(
        TargetInfo Target,
        ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
        ref List<string> OutExtraModuleNames
        )
    {
        base.SetupBinaries(Target, ref OutBuildBinaryConfigurations, ref OutExtraModuleNames);
        OutExtraModuleNames.Add("CardinalMenu");
    }

    public override bool GetSupportedPlatforms(ref List<UnrealTargetPlatform> OutPlatforms)
    {
        // It is valid for only server platforms
        return UnrealBuildTool.UnrealBuildTool.GetAllServerPlatforms(ref OutPlatforms, false);
    }
//Removed For UE4.14.0, Still Haven't Found FIx
    //public override List<UnrealTargetPlatform> GUBP_GetPlatforms_MonolithicOnly(UnrealTargetPlatform HostPlatform)
    //{
        //if (HostPlatform == UnrealTargetPlatform.Mac)
        //{
            //return new List<UnrealTargetPlatform>();
        //}
        //return new List<UnrealTargetPlatform> { HostPlatform, UnrealTargetPlatform.Win32, UnrealTargetPlatform.Linux };
    //}
    //
    //public override List<UnrealTargetConfiguration> GUBP_GetConfigs_MonolithicOnly(UnrealTargetPlatform HostPlatform, UnrealTargetPlatform Platform)
    //{
        //return new List<UnrealTargetConfiguration> { UnrealTargetConfiguration.Development };
    //}
}