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