You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
76 lines
2.1 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|