You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-112221 #rb josh.adams #preflight 6064944bf8bd0000016c5637 [CL 15919434 by christopher waters in ue5-main branch]
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class DX11 : ModuleRules
|
|
{
|
|
public DX11(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string DirectXSDKDir = Target.UEThirdPartySourceDirectory + "Windows/DirectX";
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64 )
|
|
{
|
|
PublicSystemIncludePaths.Add(DirectXSDKDir + "/Include");
|
|
|
|
string LibDir = DirectXSDKDir + "/Lib/x64/";
|
|
|
|
PublicAdditionalLibraries.AddRange(
|
|
new string[] {
|
|
LibDir + "dxgi.lib",
|
|
LibDir + "d3d9.lib",
|
|
LibDir + "d3d11.lib",
|
|
LibDir + "dxguid.lib",
|
|
LibDir + "dinput8.lib",
|
|
LibDir + "X3DAudio.lib",
|
|
LibDir + "xapobase.lib",
|
|
LibDir + "XAPOFX.lib"
|
|
// do not add d3dcompiler to the list - the engine must explicitly load
|
|
// the bundled compiler library to make shader compilation repeatable
|
|
}
|
|
);
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.HoloLens)
|
|
{
|
|
PublicSystemIncludePaths.Add(DirectXSDKDir + "/Include");
|
|
|
|
PublicSystemLibraries.AddRange(
|
|
new string[] {
|
|
"dxguid.lib",
|
|
}
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
|