Files
UnrealEngineUWP/Engine/Source/Developer/DesktopPlatform/DesktopPlatform.Build.cs
William Belcher 51883b4c5b QOL: Enable the Slate based file browser on Windows when using the NullPlatform
#rb
#jira UE-181579
#preflight https://horde.devtools.epicgames.com/job/642a4b9e89339023eb527855
#fyi

[CL 24986815 by William Belcher in ue5-main branch]
2023-04-10 20:48:21 -04:00

42 lines
833 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class DesktopPlatform : ModuleRules
{
public DesktopPlatform(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.AddRange(
new string[] {
"DerivedDataCache",
"SlateFontDialog",
"SlateFileDialogs",
"LauncherPlatform"
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"ApplicationCore",
"Json"
}
);
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Linux))
{
if(Target.Type == TargetType.Editor)
{
DynamicallyLoadedModuleNames.Add("SlateFontDialog");
}
DynamicallyLoadedModuleNames.Add("SlateFileDialogs");
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL2");
}
UnsafeTypeCastWarningLevel = WarningLevel.Error;
}
}