Files
UnrealEngineUWP/Engine/Source/Editor/EditorStyle/EditorStyle.Build.cs
2019-01-29 15:13:28 -05:00

44 lines
1.1 KiB
C#

// Copyright 1998-2019 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",
}
);
// DesktopPlatform is only available for Editor and Program targets (running on a desktop platform)
bool IsDesktopPlatformType = Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Win32
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Win64
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Mac
|| Target.Platform == UnrealBuildTool.UnrealTargetPlatform.Linux;
if (Target.Type == TargetType.Editor || (Target.Type == TargetType.Program && IsDesktopPlatformType))
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"DesktopPlatform",
}
);
}
}
}