Files
UnrealEngineUWP/Engine/Source/Runtime/NetworkFileSystem/NetworkFileSystem.Build.cs
CarlMagnus Nordin 0282a5aef6 Unified Zen and legacy COTF network protocols.
*Reduces code duplication
*Enables the same ODSC flow to be used for both COTF variants
*The client will now autodetect if it should run in Zen mode or not
#rb pj.kack,per.larsson
#preflight 628c79bdf057b981ca479b3e

[CL 20344832 by CarlMagnus Nordin in ue5-main branch]
2022-05-24 02:50:39 -04:00

54 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class NetworkFileSystem : ModuleRules
{
public NetworkFileSystem(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.AddRange(
new string[] {
"Runtime/NetworkFileSystem/Private",
});
PrivateDependencyModuleNames.AddRange(
new string[]
{
"CoreUObject",
"Engine",
"Projects",
"SandboxFile",
"TargetPlatform",
"DesktopPlatform",
"CookOnTheFly",
"CookOnTheFlyNetServer"
});
PublicIncludePaths.AddRange(
new string[] {
"Runtime/NetworkFileSystem/Public",
});
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"Sockets",
});
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
(Target.Platform == UnrealTargetPlatform.Mac))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "OpenSSL", "libWebSockets", "zlib");
PublicDefinitions.Add("ENABLE_HTTP_FOR_NFS=1");
PrivateDependencyModuleNames.Add("SSL");
}
else
{
PublicDefinitions.Add("ENABLE_HTTP_FOR_NFS=0");
}
PrecompileForTargets = PrecompileTargetsType.Editor;
}
}
}