Files
UnrealEngine/Engine/Source/Developer/DesktopPlatform/DesktopPlatform.Build.cs
2025-05-18 13:04:45 +08:00

44 lines
929 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");
}
if (Target.bCompileAgainstCoreUObject && Target.bUsesSlate)
{
DynamicallyLoadedModuleNames.Add("SlateFileDialogs");
}
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL3");
}
CppCompileWarningSettings.UnsafeTypeCastWarningLevel = WarningLevel.Error;
}
}