// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.IO; using System; [SupportedPlatforms("Win64", "Linux")] public class AVEncoder : ModuleRules { public AVEncoder(ReadOnlyTargetRules Target) : base(Target) { // Without these two compilation fails on VS2017 with D8049: command line is too long to fit in debug record. bLegacyPublicIncludePaths = false; DefaultBuildSettings = BuildSettingsVersion.V2; // PCHUsage = PCHUsageMode.NoPCHs; // PrecompileForTargets = PrecompileTargetsType.None; PrivateDependencyModuleNames.AddRange(new string[] { "Engine" }); PublicDependencyModuleNames.AddRange(new string[] { "RenderCore", "Core", "RHI", "CUDA" // ... add other public dependencies that you statically link with here ... }); if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) || Target.IsInPlatformGroup(UnrealPlatformGroup.Unix)) { PublicIncludePathModuleNames.Add("Vulkan"); } if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows)) { PrivateDependencyModuleNames.AddRange(new string[] { "D3D11RHI", "D3D12RHI" }); AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11", "DX12"); PublicDelayLoadDLLs.Add("mfplat.dll"); PublicDelayLoadDLLs.Add("mfuuid.dll"); PublicDelayLoadDLLs.Add("Mfreadwrite.dll"); } } }