Files
TG_ARPG/Plugins/marketplace/ViveMocapKit/Source/ViveMocapKit/ViveMocapKit.Build.cs
2023-10-07 03:53:32 +08:00

71 lines
1.5 KiB
C#

// (c) Yuri N. K. 2022. All rights reserved.
// ykasczc@gmail.com
using UnrealBuildTool;
using System.IO;
public class ViveMocapKit : ModuleRules
{
private string ResourcesPath
{
get { return Path.GetFullPath(Path.Combine(ModuleDirectory, "../../Resources")); }
}
public ViveMocapKit(ReadOnlyTargetRules Target) : base(Target)
{
//PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PrivatePCHHeaderFile = "Public/ViveMocapTypes.h";
PCHUsage = PCHUsageMode.UseSharedPCHs;
bUseRTTI = true;
//PublicDefinitions.Add("WITH_STEAMVR=1");
PrivateIncludePaths.AddRange(
new string[] {
}
);
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"InputCore",
//"SteamVR",
"HeadMountedDisplay", // all functions to access tracked devices
"Engine",
"Projects",
"LiveLink",
"LiveLinkInterface",
"VMKFingersSolver"
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"CoreUObject",
"Engine",
"Slate",
"SlateCore"
}
);
DynamicallyLoadedModuleNames.AddRange(
new string[]
{
}
);
//AddEngineThirdPartyPrivateStaticDependencies(Target, "OpenVR");
// We can evaluate Keras model at any platfrom
if (!Target.bBuildEditor)
{
RuntimeDependencies.Add("$(BinaryOutputDir)/../../Plugins/ViveMocapKit/Resources/elbowsmodel.keras", Path.Combine(ResourcesPath, "elbowsmodel_editor.keras"), StagedFileType.NonUFS);
}
}
}