Files
helge mathee 1efc78cb9f Slate: move animated attribute from slatecore to slate
#rb sara.schvartzman
#jira UE-204843
#rnx

[CL 31286588 by helge mathee in 5.4 branch]
2024-02-08 06:00:55 -05:00

65 lines
1.9 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Slate : ModuleRules
{
public Slate(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDefinitions.Add("SLATE_MODULE=1");
SharedPCHHeaderFile = "Public/SlateSharedPCH.h";
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"InputCore",
"Json",
"SlateCore",
"ImageWrapper"
});
if (Target.bCompileAgainstApplicationCore)
{
PublicDependencyModuleNames.Add("ApplicationCore");
}
if (Target.Platform == UnrealTargetPlatform.Win64)
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "XInput");
}
else if (Target.IsInPlatformGroup(UnrealPlatformGroup.Linux))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL2");
}
// Add slate runtime dependencies
if (Target.bUsesSlate)
{
RuntimeDependencies.Add("$(EngineDir)/Content/Slate/...*.ttf", StagedFileType.UFS);
RuntimeDependencies.Add("$(EngineDir)/Content/Slate/...*.png", StagedFileType.UFS);
RuntimeDependencies.Add("$(EngineDir)/Content/Slate/...*.svg", StagedFileType.UFS);
RuntimeDependencies.Add("$(EngineDir)/Content/Slate/...*.tps", StagedFileType.UFS);
RuntimeDependencies.Add("$(EngineDir)/Content/SlateDebug/...", StagedFileType.DebugNonUFS);
if (Target.Platform == UnrealTargetPlatform.Win64)
{
RuntimeDependencies.Add("$(EngineDir)/Content/Slate/...*.cur", StagedFileType.NonUFS);
}
if (Target.ProjectFile != null)
{
RuntimeDependencies.Add("$(ProjectDir)/Content/Slate/...", StagedFileType.UFS);
RuntimeDependencies.Add("$(ProjectDir)/Content/SlateDebug/...", StagedFileType.DebugNonUFS);
}
}
if (Target.bBuildDeveloperTools)
{
DynamicallyLoadedModuleNames.Add("Settings");
}
PrivateIncludePaths.Add(System.IO.Path.Combine(EngineDirectory,"Source/ThirdParty/AHEasing/AHEasing-1.3.2"));
}
}