41 lines
779 B
C#
41 lines
779 B
C#
// 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"
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
"Slate",
|
|
"SlateCore",
|
|
"OpenSSL",
|
|
"UMG"
|
|
});
|
|
|
|
// 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;
|
|
}
|
|
}
|