Files
UnrealEngineUWP/Engine/Source/Runtime/AVEncoder/AVEncoder.Build.cs
nick pace f27ab9a95e Fix Win64 Release build cs reference to platform removed for release builds
#JIRA
[FYI] luke.bermingham, aidan.possemiers, marco.anastasi
#rb self

#ROBOMERGE-AUTHOR: nick.pace
#ROBOMERGE-SOURCE: CL 17921560 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17922640 by nick pace in ue5-release-engine-test branch]
2021-10-26 09:14:35 -04:00

76 lines
2.1 KiB
C#

// 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;
PublicIncludePaths.AddRange(new string[] {
// ... add public include paths required here ...
});
PrivateIncludePaths.AddRange(new string[] {
// ... add other private include paths required here ...
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Engine"
});
PublicDependencyModuleNames.AddRange(new string[] {
"RenderCore",
"Core",
"RHI",
"CUDA"
// ... add other public dependencies that you statically link with here ...
});
DynamicallyLoadedModuleNames.AddRange(new string[] {
// ... add any modules that your module loads dynamically here ...
});
string EngineSourceDirectory = Path.GetFullPath(Target.RelativeEnginePath);
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) || Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "NVAftermath");
PrivateIncludePathModuleNames.Add("VulkanRHI");
PrivateIncludePaths.Add(Path.Combine(EngineSourceDirectory, "Source/Runtime/VulkanRHI/Private"));
AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan");
PublicIncludePaths.Add(Path.Combine(EngineSourceDirectory, "Source/ThirdParty/Vulkan/Include"));
}
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows))
{
PrivateDependencyModuleNames.AddRange(new string[] {
"D3D11RHI",
"D3D12RHI"
});
PublicSystemLibraries.AddRange(new string[] {
"DXGI.lib",
"d3d11.lib",
"d3d12.lib"
});
PublicDelayLoadDLLs.Add("mfplat.dll");
PublicDelayLoadDLLs.Add("mfuuid.dll");
PublicDelayLoadDLLs.Add("Mfreadwrite.dll");
}
}
}