2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-11-26 17:28:51 -05:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
2021-04-29 19:32:06 -04:00
|
|
|
using System.IO;
|
|
|
|
|
using System;
|
2019-11-26 17:28:51 -05:00
|
|
|
|
2023-03-28 05:28:43 -04:00
|
|
|
[SupportedPlatforms("Linux")]
|
|
|
|
|
[SupportedPlatformGroups("Windows")]
|
2019-11-26 17:28:51 -05:00
|
|
|
public class AVEncoder : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public AVEncoder(ReadOnlyTargetRules Target) : base(Target)
|
|
|
|
|
{
|
2021-10-26 01:05:06 -04:00
|
|
|
// Without these two compilation fails on VS2017 with D8049: command line is too long to fit in debug record.
|
|
|
|
|
bLegacyPublicIncludePaths = false;
|
|
|
|
|
DefaultBuildSettings = BuildSettingsVersion.V2;
|
2019-11-26 17:28:51 -05:00
|
|
|
|
2021-10-26 01:05:06 -04:00
|
|
|
// PCHUsage = PCHUsageMode.NoPCHs;
|
2021-04-29 19:32:06 -04:00
|
|
|
|
2021-10-26 01:05:06 -04:00
|
|
|
// PrecompileForTargets = PrecompileTargetsType.None;
|
2021-04-29 19:32:06 -04:00
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] {
|
2023-10-12 08:21:50 -04:00
|
|
|
"Engine",
|
|
|
|
|
"SignalProcessing"
|
2021-04-29 19:32:06 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[] {
|
2019-11-26 17:28:51 -05:00
|
|
|
"RenderCore",
|
2021-04-29 19:32:06 -04:00
|
|
|
"Core",
|
2021-10-26 01:05:06 -04:00
|
|
|
"RHI",
|
|
|
|
|
"CUDA"
|
2021-04-29 19:32:06 -04:00
|
|
|
// ... add other public dependencies that you statically link with here ...
|
|
|
|
|
});
|
|
|
|
|
|
2021-10-26 01:05:06 -04:00
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) || Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
|
2021-05-27 13:40:37 -04:00
|
|
|
{
|
2022-03-09 11:16:51 -05:00
|
|
|
PublicIncludePathModuleNames.Add("Vulkan");
|
2021-05-27 13:40:37 -04:00
|
|
|
}
|
|
|
|
|
|
2021-10-26 01:05:06 -04:00
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows))
|
2019-11-26 17:28:51 -05:00
|
|
|
{
|
2021-10-26 01:05:06 -04:00
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] {
|
|
|
|
|
"D3D11RHI",
|
|
|
|
|
"D3D12RHI"
|
2021-04-29 19:32:06 -04:00
|
|
|
});
|
2021-05-27 13:40:37 -04:00
|
|
|
|
2022-03-09 11:16:51 -05:00
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11", "DX12");
|
2021-10-26 05:58:25 -04:00
|
|
|
|
|
|
|
|
PublicDelayLoadDLLs.Add("mfplat.dll");
|
|
|
|
|
PublicDelayLoadDLLs.Add("mfuuid.dll");
|
|
|
|
|
PublicDelayLoadDLLs.Add("Mfreadwrite.dll");
|
2019-11-26 17:28:51 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|