Files
UnrealEngineUWP/Engine/Source/Editor/EditorStyle/EditorStyle.Build.cs
matt kuhlenschmidt 5d10725c0c Fix up use cases of specifying "PrimaryButton" style directly. Replaced instances with SPrimaryButton
#pf https://horde.devtools.epicgames.com/job/612d40b9423a8f00013c5b92

#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 17457077 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17457092 by matt kuhlenschmidt in ue5-release-engine-test branch]
2021-09-08 08:29:49 -04:00

46 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class EditorStyle : ModuleRules
{
public EditorStyle(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Slate",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"SlateCore",
"ToolWidgets",
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"Settings",
"PropertyEditor"
}
);
// DesktopPlatform is only available for Editor and Program targets (running on a desktop platform)
bool IsDesktopPlatformType = Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Win64
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Mac
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Linux
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.LinuxArm64;
if (Target.Type == TargetType.Editor || (Target.Type == TargetType.Program && IsDesktopPlatformType))
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"DesktopPlatform",
}
);
}
}
}