You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
79 lines
1.9 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|
|
} |