Files
UnrealEngineUWP/Engine/Source/Developer/DesktopPlatform/DesktopPlatform.Build.cs
jessica agee 403f029bd7 Set UnsafeTypeCastWarningLevel to Error for a few widely-used modules
#rb none
#preflight 630d013af92416fb926b3c7a
#preflight 630d0938e54ec9d5815ebb45

[CL 21696478 by jessica agee in ue5-main branch]
2022-08-30 02:22:04 -04:00

44 lines
986 B
C#

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