// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.IO; using System; public class NVENC: ModuleRules { public NVENC(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; PrivateDependencyModuleNames.AddRange(new string[] { "Engine", "AVCodecsCore", "VulkanRHI", }); PublicDependencyModuleNames.AddRange(new string[] { "RenderCore", "Core", "RHI", "nvEncode", "NVCodecs", "CUDA", }); AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan"); if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows)) { AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11"); } } }