Files
UnrealEngineUWP/Engine/Source/Runtime/RenderCore/RenderCore.Build.cs
guillaume abadie d1cb2685ce Packages the GPUDumpViewer in non shipping cooked builds
[FYI] yuriy.odonnell
#rb trivial
#lockdown michal.valient
#preflight 615b0b932554620001fab5fe

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17709944 via CL 17977482 via CL 18366615 via CL 18366702
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18366765 by guillaume abadie in ue5-release-engine-test branch]
2021-12-03 02:42:33 -05:00

43 lines
1.4 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildBase;
using UnrealBuildTool;
public class RenderCore : ModuleRules
{
public RenderCore(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.Add("../Shaders/Shared");
PublicDependencyModuleNames.AddRange(new string[] { "RHI" });
PrivateIncludePathModuleNames.AddRange(new string[] { "TargetPlatform" });
// JSON is used for the asset info in the shader library and dumping out frames.
PrivateDependencyModuleNames.Add("Json");
PrivateDependencyModuleNames.Add("BuildSettings");
if (Target.bBuildEditor == true)
{
DynamicallyLoadedModuleNames.Add("TargetPlatform");
// UObjects are used to produce the full path of the asset by which the shaders are identified
PrivateDependencyModuleNames.Add("CoreUObject");
}
// Copy the GPUDumpViewer's source code for the r.DumpGPU command.
if (Target.Configuration != UnrealTargetConfiguration.Shipping)
{
RuntimeDependencies.Add(Path.Combine(Unreal.EngineDirectory.ToString(), "Extras/GPUDumpViewer/..."), StagedFileType.DebugNonUFS);
}
PrivateDependencyModuleNames.AddRange(new string[] { "Core", "Projects", "RHI", "ApplicationCore", "TraceLog", "CookOnTheFly" });
PrivateIncludePathModuleNames.AddRange(new string[] { "DerivedDataCache" });
// Added in Dev-VT, still needed?
PrivateIncludePathModuleNames.AddRange(new string[] { "TargetPlatform" });
}
}