You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed include paths to be relative to the private or public folders. Hid or removed includes that reached into other private module folders. Updated PublicInclude paths when necessary. #jira #preflight 631a717cec45fbf3d74d4ba7 [CL 21916033 by bryan sefcik in ue5-main branch]
51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class SlateCore : ModuleRules
|
|
{
|
|
public SlateCore(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"InputCore",
|
|
"ApplicationCore",
|
|
"Json",
|
|
"TraceLog",
|
|
});
|
|
|
|
if (Target.Type != TargetType.Server)
|
|
{
|
|
if (Target.bCompileFreeType)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "FreeType2");
|
|
PublicDefinitions.Add("WITH_FREETYPE=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_FREETYPE=0");
|
|
}
|
|
|
|
if (Target.bCompileICU)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "ICU");
|
|
}
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "HarfBuzz");
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "Nanosvg");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_FREETYPE=0");
|
|
PublicDefinitions.Add("WITH_HARFBUZZ=0");
|
|
}
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "XInput");
|
|
}
|
|
}
|
|
}
|