// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class LyraGame : ModuleRules { public LyraGame(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePaths.AddRange( new string[] { "LyraGame" } ); PrivateIncludePaths.AddRange( new string[] { } ); PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreOnline", "CoreUObject", "ApplicationCore", "Engine", "PhysicsCore", "GameplayTags", "GameplayTasks", "GameplayAbilities", "AIModule", "ModularGameplay", "ModularGameplayActors", "DataRegistry", "ReplicationGraph", "GameFeatures", "SignificanceManager", "Hotfix", "CommonLoadingScreen", "Niagara", "AsyncMixin", "ControlFlows", "PropertyPath" } ); PrivateDependencyModuleNames.AddRange( new string[] { "InputCore", "Slate", "SlateCore", "RenderCore", "DeveloperSettings", "EnhancedInput", "NetCore", "RHI", "Projects", "Gauntlet", "UMG", "CommonUI", "CommonInput", "GameSettings", "CommonGame", "CommonUser", "GameSubtitles", "GameplayMessageRuntime", "AudioMixer", "NetworkReplayStreaming", "UIExtension", "ClientPilot", "AudioModulation", "EngineSettings", "DTLSHandlerComponent", "Json", } ); DynamicallyLoadedModuleNames.AddRange( new string[] { } ); // Generate compile errors if using DrawDebug functions in test/shipping builds. PublicDefinitions.Add("SHIPPING_DRAW_DEBUG_ERROR=1"); // Basic setup for External RPC Framework. // Functionality within framework will be stripped in shipping to remove vulnerabilities. PrivateDependencyModuleNames.Add("ExternalRpcRegistry"); PrivateDependencyModuleNames.Add("HTTPServer"); // Dependency for ExternalRpcRegistry if (Target.Configuration == UnrealTargetConfiguration.Shipping) { PublicDefinitions.Add("WITH_RPC_REGISTRY=0"); PublicDefinitions.Add("WITH_HTTPSERVER_LISTENERS=0"); } else { PublicDefinitions.Add("WITH_RPC_REGISTRY=1"); PublicDefinitions.Add("WITH_HTTPSERVER_LISTENERS=1"); } SetupGameplayDebuggerSupport(Target); SetupIrisSupport(Target); } }