2026-02-24 22:39:26 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
2026-03-10 22:38:12 -04:00
|
|
|
using System.IO;
|
2026-02-24 22:39:26 -05:00
|
|
|
using UnrealBuildTool;
|
2026-03-10 22:38:12 -04:00
|
|
|
using System.Linq;
|
2026-02-24 22:39:26 -05:00
|
|
|
|
|
|
|
|
public class FPSTemplate : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public FPSTemplate(ReadOnlyTargetRules Target) : base(Target)
|
|
|
|
|
{
|
|
|
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
|
|
2026-03-10 22:38:12 -04:00
|
|
|
PublicDependencyModuleNames.AddRange(new string[]
|
|
|
|
|
{
|
|
|
|
|
"Core",
|
|
|
|
|
"CoreUObject",
|
|
|
|
|
"Engine",
|
|
|
|
|
"InputCore",
|
|
|
|
|
"EnhancedInput",
|
|
|
|
|
"PhysicsCore",
|
2026-03-14 21:05:22 -04:00
|
|
|
"OpenSSL",
|
|
|
|
|
"DedicatedServers"
|
2026-03-10 22:38:12 -04:00
|
|
|
});
|
2026-02-24 22:39:26 -05:00
|
|
|
|
2026-03-10 22:38:12 -04:00
|
|
|
PrivateDependencyModuleNames.AddRange(new string[]
|
|
|
|
|
{
|
|
|
|
|
"GameplayTags",
|
|
|
|
|
"Slate",
|
2026-03-11 07:40:45 -04:00
|
|
|
"SlateCore",
|
|
|
|
|
"OpenSSL",
|
2026-03-10 22:38:12 -04:00
|
|
|
});
|
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");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PublicDefinitions.Add("WITH_GAMELIFT=0");
|
|
|
|
|
}
|
|
|
|
|
bEnableExceptions = true;
|
|
|
|
|
|
|
|
|
|
// Uncomment if you are using Slate UI
|
|
|
|
|
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
|
2026-03-10 22:38:12 -04:00
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|