Files
UnrealEngineUWP/Engine/Source/ThirdParty/Windows/XInput/XInput.Build.cs
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

26 lines
734 B
C#

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class XInput : ModuleRules
{
public XInput(TargetInfo Target)
{
Type = ModuleType.External;
string DirectXSDKDir = UEBuildConfiguration.UEThirdPartySourceDirectory + "Windows/DirectX";
// Ensure correct include and link paths for xinput so the correct dll is loaded (xinput1_3.dll)
PublicSystemIncludePaths.Add(DirectXSDKDir + "/include");
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PublicLibraryPaths.Add(DirectXSDKDir + "/Lib/x64");
}
else if (Target.Platform == UnrealTargetPlatform.Win32)
{
PublicLibraryPaths.Add(DirectXSDKDir + "/Lib/x86");
}
PublicAdditionalLibraries.Add("XInput.lib");
}
}