Files
UnrealEngineUWP/Engine/Source/Editor/EditorStyle/EditorStyle.Build.cs
Marc Audy cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00

45 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",
}
);
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.LinuxAArch64;
if (Target.Type == TargetType.Editor || (Target.Type == TargetType.Program && IsDesktopPlatformType))
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"DesktopPlatform",
}
);
}
}
}