Files
UnrealEngineUWP/Engine/Source/Developer/Windows/ShaderFormatD3D/ShaderFormatD3D.Build.cs
Marcus Wassmer 459dd9960c Force integrate 5317515 from release-4.22 to fix some issues with 'undo'.
#rb none

[CL 5337699 by Marcus Wassmer in Main branch]
2019-03-07 11:25:32 -05:00

34 lines
967 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class ShaderFormatD3D : ModuleRules
{
public ShaderFormatD3D(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
PrivateIncludePathModuleNames.Add("D3D11RHI");
PrivateIncludePaths.Add("../Shaders/Shared");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"RenderCore",
"ShaderPreprocessor",
"ShaderCompilerCommon",
}
);
//DXC
if (Target.Platform == UnrealTargetPlatform.Win64)
{
string DxDllsPath = "$(EngineDir)/Binaries/ThirdParty/Windows/DirectX/x64/";
RuntimeDependencies.Add("$(TargetOutputDir)/dxil.dll", DxDllsPath + "dxil.dll");
RuntimeDependencies.Add("$(TargetOutputDir)/dxcompiler.dll", DxDllsPath + "dxcompiler.dll");
}
AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11");
}
}