Files
UnrealEngineUWP/Engine/Source/Runtime/Slate/Slate.Build.cs
bryan sefcik 543057b477 Fixed an issue where the public dependencies weren't being added to the include path list.
#rb joe.kirchoff
#preflight 645d0d91592448f08b9ce111
#preflight 6464fa322d446eac96d40d6a

[CL 25509605 by bryan sefcik in ue5-main branch]
2023-05-17 12:31:45 -04:00

63 lines
1.8 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");
}
}
}