Files
UnrealEngineUWP/Engine/Source/Runtime/Slate/Slate.Build.cs
bernard lambert be2b61c941 Added a console variable to control if we should use an invisible cursor instead of setting the HCursor to NULL when the cursor type is set to None.
#RB [at]Camille.Gendreau [at]Ghislain.Theriault [at]Fourat.Jellouli [at]Bob.Tellez

[CL 24913211 by bernard lambert in ue5-main branch]
2023-04-04 12:56:18 -04:00

59 lines
1.7 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",
"ApplicationCore",
"InputCore",
"Json",
"SlateCore",
"ImageWrapper"
});
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");
}
}
}