Files
DedicatedServerCourse/Source/DedicatedServers/DedicatedServers.Build.cs

45 lines
840 B
C#
Raw Permalink Normal View History

2026-03-14 21:05:22 -04:00
// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildTool;
using System.Linq;
public class DedicatedServers : ModuleRules
{
public DedicatedServers(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[]
{
"Core",
"CoreUObject",
"Engine",
2026-03-15 21:46:18 -04:00
"GameplayTags",
"HTTP"
2026-03-14 21:05:22 -04:00
});
PrivateDependencyModuleNames.AddRange(new string[]
{
"Slate",
"SlateCore",
2026-03-15 09:19:39 -04:00
"OpenSSL",
2026-03-15 22:09:50 -04:00
"UMG",
"Json",
"JsonUtilities"
2026-03-14 21:05:22 -04:00
});
// Adds in the plugin for GameLiftServerSDK if it is the server build.
if (Target.Type == TargetType.Server)
{
PublicDependencyModuleNames.Add("GameLiftServerSDK");
}
else
{
PublicDefinitions.Add("WITH_GAMELIFT=0");
}
bEnableExceptions = true;
2026-03-14 21:05:22 -04:00
}
}