Files
DedicatedServerCourse/Source/FPSTemplate/FPSTemplate.Build.cs

54 lines
1.2 KiB
C#
Raw Normal View History

2026-02-24 22:39:26 -05:00
// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
2026-02-24 22:39:26 -05:00
using UnrealBuildTool;
using System.Linq;
2026-02-24 22:39:26 -05:00
public class FPSTemplate : ModuleRules
{
public FPSTemplate(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[]
{
"Core",
"CoreUObject",
"Engine",
"InputCore",
"EnhancedInput",
"PhysicsCore",
2026-03-23 08:34:51 -04:00
"OpenSSL",
});
2026-02-24 22:39:26 -05:00
PrivateDependencyModuleNames.AddRange(new string[]
{
"GameplayTags",
"Slate",
2026-03-11 07:40:45 -04:00
"SlateCore",
"OpenSSL",
});
2026-02-24 22:39:26 -05:00
// Adds in the plugin for GameLiftServerSDK if it is the server build.
if (Target.Type == TargetType.Server)
{
PublicDependencyModuleNames.Add("GameLiftServerSDK");
2026-03-23 08:34:51 -04:00
PublicDependencyModuleNames.Add("DedicatedServers");
2026-02-24 22:39:26 -05:00
}
else
{
PublicDefinitions.Add("WITH_GAMELIFT=0");
}
bEnableExceptions = true;
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
2026-02-24 22:39:26 -05:00
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
}