Files
UnrealEngine/Engine/Source/Developer/DesktopPlatform/DesktopPlatform.Build.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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;
}
}