You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
-Removing hololens 1 remoting, which was the only way to use a hl1. It was deprecated in 4.26. Microsoft no longer sells the device. #jira UEVR-1976 #review-14485874 #rb Joe.Conley [CL 14494314 by Jeff Fisher in ue5-main branch]
48 lines
1.7 KiB
C#
48 lines
1.7 KiB
C#
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
public class MixedRealityInteropLibrary : ModuleRules
|
|
{
|
|
public MixedRealityInteropLibrary(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
string LibName = "MixedRealityInterop";
|
|
if (Target.Configuration == UnrealTargetConfiguration.Debug)
|
|
{
|
|
LibName += "Debug";
|
|
}
|
|
string DLLName = LibName + ".dll";
|
|
LibName += ".lib";
|
|
|
|
string InteropLibPath = EngineDirectory + "/Source/ThirdParty/WindowsMixedRealityInterop/Lib/x64/";
|
|
PublicAdditionalLibraries.Add(InteropLibPath + LibName);
|
|
|
|
// Delay-load the DLL, so we can load it from the right place first
|
|
PublicDelayLoadDLLs.Add(DLLName);
|
|
RuntimeDependencies.Add(EngineDirectory + "/Binaries/ThirdParty/Windows/x64/" + DLLName);
|
|
|
|
// Hologram remoting dlls
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
string[] Dlls = { "Microsoft.Holographic.AppRemoting.dll", "PerceptionDevice.dll", "Microsoft.MixedReality.QR.dll" };
|
|
|
|
foreach(var Dll in Dlls)
|
|
{
|
|
PublicDelayLoadDLLs.Add(Dll);
|
|
RuntimeDependencies.Add(EngineDirectory + "/Binaries/ThirdParty/Windows/x64/" + Dll);
|
|
}
|
|
}
|
|
}
|
|
else if(Target.Platform == UnrealTargetPlatform.HoloLens)
|
|
{
|
|
string InteropLibPath = Target.UEThirdPartySourceDirectory + "/WindowsMixedRealityInterop/Lib/" + Target.WindowsPlatform.GetArchitectureSubpath() + "/";
|
|
PublicAdditionalLibraries.Add(InteropLibPath + (Target.Configuration == UnrealTargetConfiguration.Debug ? "MixedRealityInteropHoloLensDebug.lib" : "MixedRealityInteropHoloLens.lib"));
|
|
}
|
|
}
|
|
}
|