You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-138641 #rb none #ROBOMERGE-AUTHOR: arciel.rekman #ROBOMERGE-SOURCE: CL 18546547 via CL 18546647 via CL 18546655 via CL 18547597 via CL 18547662 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669) [CL 18547724 by arciel rekman in ue5-release-engine-test branch]
50 lines
1.9 KiB
C#
50 lines
1.9 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildBase;
|
|
using UnrealBuildTool;
|
|
using System;
|
|
|
|
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");
|
|
}
|
|
// shader runtime usage visualization requires ability to create images - it is only used in non-editor desktop development targets
|
|
// UE_BUILD_DEVELOPMENT is also defined for DebugGame
|
|
else if ((Target.Configuration == UnrealTargetConfiguration.Development || Target.Configuration == UnrealTargetConfiguration.DebugGame) && Array.IndexOf(Utils.GetPlatformsInClass(UnrealPlatformClass.Desktop), Target.Platform) >= 0)
|
|
{
|
|
PrivateDependencyModuleNames.Add("ImageWrapper");
|
|
}
|
|
|
|
// 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" });
|
|
}
|
|
}
|