You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Jason.Nadro, Dan.Elksnitis, Yuriy.Odonnell, Arciel.Rekman #preflight 638e610c255f07df8ea212f4 #rnx [CL 23428544 by laura hermanns in ue5-main branch]
41 lines
922 B
C#
41 lines
922 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class ShaderCompileWorker : ModuleRules
|
|
{
|
|
public ShaderCompileWorker(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"Projects",
|
|
"RenderCore",
|
|
"SandboxFile",
|
|
"TargetPlatform",
|
|
"ApplicationCore",
|
|
"TraceLog",
|
|
"ShaderCompilerCommon",
|
|
"Sockets",
|
|
});
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[] {
|
|
"Launch",
|
|
"TargetPlatform",
|
|
});
|
|
|
|
PrivateIncludePaths.Add("Runtime/Launch/Private"); // For LaunchEngineLoop.cpp include
|
|
|
|
// Include D3D compiler binaries
|
|
string EngineDir = Path.GetFullPath(Target.RelativeEnginePath);
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
RuntimeDependencies.Add(EngineDir + "Binaries/ThirdParty/Windows/DirectX/x64/d3dcompiler_47.dll");
|
|
}
|
|
}
|
|
}
|
|
|