Files
UnrealEngineUWP/Engine/Plugins/Runtime/WindowsMixedReality/Source/WindowsMixedRealitySpatialInput/WindowsMixedRealitySpatialInput.Build.cs
bryan sefcik ce0f029ca8 Removed WindowsMixedRealitySpatialInput private pch.
Timing when compiling module with PCH(including compiling PCH): 8.97 secs
Timing using shared PCH: 3.66s secs
#preflight 62a0bd8b521254896fb55d12

[CL 20557151 by bryan sefcik in ue5-main branch]
2022-06-08 11:27:31 -04:00

79 lines
1.9 KiB
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.IO;
using UnrealBuildTool;
using Microsoft.Win32;
namespace UnrealBuildTool.Rules
{
public class WindowsMixedRealitySpatialInput : ModuleRules
{
private string ModulePath
{
get { return ModuleDirectory; }
}
private string ThirdPartyPath
{
get { return Path.GetFullPath( Path.Combine( ModulePath, "../ThirdParty/" ) ); }
}
public WindowsMixedRealitySpatialInput(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.AddRange(
new string[]
{
"TargetPlatform",
"InputDevice",
"HeadMountedDisplay",
"WindowsMixedRealityHMD"
});
PublicDependencyModuleNames.AddRange(
new string[]
{
"MixedRealityInteropLibrary",
"HeadMountedDisplay",
"ProceduralMeshComponent"
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine",
"InputCore",
"HeadMountedDisplay",
"WindowsMixedRealityHMD",
"Slate",
"SlateCore",
});
AddEngineThirdPartyPrivateStaticDependencies(Target, "WindowsMixedRealityInterop");
if (Target.bBuildEditor == true)
{
PrivateDependencyModuleNames.Add("EditorFramework");
PrivateDependencyModuleNames.Add("UnrealEd");
}
if (Target.Platform == UnrealTargetPlatform.Win64)
{
bEnableExceptions = true;
}
if (Target.Platform == UnrealTargetPlatform.Win64 && Target.bBuildEditor == true)
{
PrivateDependencyModuleNames.Add("WindowsMixedRealityInputSimulation");
PrivateDefinitions.Add("WITH_INPUT_SIMULATION=1");
}
else
{
PrivateDefinitions.Add("WITH_INPUT_SIMULATION=0");
}
}
}
}