74 lines
1.6 KiB
C#
74 lines
1.6 KiB
C#
|
// ------------------------------------------------
|
||
|
// Copyright Joe Marshall 2024- All Rights Reserved
|
||
|
// ------------------------------------------------
|
||
|
//
|
||
|
// Build AndroidVulkanVideo factory module (to make
|
||
|
// it possible to select this as a video source in
|
||
|
// editor.)
|
||
|
// ------------------------------------------------
|
||
|
|
||
|
using UnrealBuildTool;
|
||
|
using System.IO;
|
||
|
using System;
|
||
|
|
||
|
public class VulkanVideoMeshComponent : ModuleRules
|
||
|
{
|
||
|
public VulkanVideoMeshComponent(ReadOnlyTargetRules Target) : base(Target)
|
||
|
{
|
||
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||
|
CppStandard = CppStandardVersion.Cpp17;
|
||
|
|
||
|
|
||
|
PublicIncludePaths.AddRange(
|
||
|
new string[] {
|
||
|
// ... add public include paths required here ...
|
||
|
}
|
||
|
);
|
||
|
|
||
|
|
||
|
PrivateIncludePaths.AddRange(
|
||
|
new string[] {
|
||
|
// ... add other private include paths required here ...
|
||
|
}
|
||
|
);
|
||
|
|
||
|
|
||
|
PublicDependencyModuleNames.AddRange(
|
||
|
new string[]
|
||
|
{
|
||
|
"Core",
|
||
|
"Projects",
|
||
|
"CoreUObject", "Engine","RHI","VulkanRHI","MediaUtils"
|
||
|
// ... add other public dependencies that you statically link with here ...
|
||
|
}
|
||
|
);
|
||
|
|
||
|
|
||
|
PrivateDependencyModuleNames.AddRange(
|
||
|
new string[]
|
||
|
{
|
||
|
"Core","CoreUObject", "Engine","RHI","RenderCore","VulkanRHI","MediaUtils","Media","MediaAssets"
|
||
|
// ... add private dependencies that you statically link with here ...
|
||
|
}
|
||
|
);
|
||
|
|
||
|
PrivateIncludePathModuleNames.AddRange(
|
||
|
new string[] {
|
||
|
"AndroidVulkanVideo",
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
DynamicallyLoadedModuleNames.AddRange(
|
||
|
new string[]
|
||
|
{
|
||
|
}
|
||
|
);
|
||
|
|
||
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
||
|
{
|
||
|
DynamicallyLoadedModuleNames.Add("AndroidVulkanVideo");
|
||
|
}
|
||
|
}
|
||
|
}
|