Files
UnrealEngineUWP/Engine/Plugins/Media/HardwareEncoders/Source/EncoderNVENC/EncoderNVENC.Build.cs
christopher waters 2a8f9987cb Adding minimal interface to VulkanRHI
- Adding IVulkanDynamicRHI interface for plugins that want to touch Vulkan resources/handles directly.
- Modifying plugins that were using VulkanRHIPrivate.h to use the interface instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing VulkanRHI/Private from plugin include paths.
- Deprecating VulkanRHIBridge and moved its functionality into the new interface.

#jira none
#rb jeannoe.morissette, mihnea.balta, robert.srinivasiah
#preflight 62281ec531133a23da642007
#robomerge FNNC

[CL 19320995 by christopher waters in ue5-main branch]
2022-03-09 11:16:51 -05:00

37 lines
960 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
using System;
public class EncoderNVENC: ModuleRules
{
public EncoderNVENC(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",
"AVEncoder",
"VulkanRHI",
"nvEncode",
"CUDA"
});
PublicDependencyModuleNames.AddRange(new string[] {
"RenderCore",
"Core",
"RHI"
});
string EngineSourceDirectory = Path.GetFullPath(Target.RelativeEnginePath);
PrivateIncludePaths.Add(Path.Combine(EngineSourceDirectory, "Source/Runtime/AVEncoder/Private"));
AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan");
AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11");
}
}