You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 628cb0e9f057b981ca51f6fa #jira UE-149794 #rnx #rb Jeff.Fisher [CL 20361225 by David Harvey in ue5-main branch]
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
using System;
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
using Microsoft.Win32;
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class WindowsMixedRealityEyeTracker : ModuleRules
|
|
{
|
|
protected virtual bool bWithWindowsMixedReality { get => Target.Platform == UnrealTargetPlatform.Win64; }
|
|
|
|
public WindowsMixedRealityEyeTracker(ReadOnlyTargetRules Target)
|
|
: base(Target)
|
|
{
|
|
bEnableExceptions = true;
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "WindowsMixedRealityInterop");
|
|
|
|
if (bWithWindowsMixedReality)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"MixedRealityInteropLibrary",
|
|
"InputDevice",
|
|
"EyeTracker",
|
|
"WindowsMixedRealityHMD",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
"InputCore",
|
|
}
|
|
);
|
|
|
|
PublicDefinitions.Add("WITH_WINDOWS_MIXED_REALITY=1");
|
|
}
|
|
}
|
|
}
|
|
} |