Files
UnrealEngineUWP/Engine/Source/Runtime/Landscape/Landscape.Build.cs
bryan sefcik 117472780d Fixed include paths.
#jira
#preflight 634ee62fe746026e48eb077e

[CL 22621687 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:08 -04:00

86 lines
1.8 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class Landscape : ModuleRules
{
public Landscape(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.AddRange(
new string[] {
Path.Combine(GetModuleDirectory("Engine"), "Private"), // for Engine/Private/Collision/PhysXCollision.h
Path.Combine(GetModuleDirectory("Renderer"), "Private"),
"../Shaders/Shared"
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"TargetPlatform",
"DerivedDataCache",
"Foliage",
"Renderer",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"ApplicationCore",
"Engine",
"RenderCore",
"RHI",
"Renderer",
"Foliage",
"DeveloperSettings"
}
);
SetupModulePhysicsSupport(Target);
if (Target.Type == TargetType.Editor || Target.Type == TargetType.Program)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"MeshDescription",
"StaticMeshDescription",
"MeshUtilitiesCommon"
}
);
}
if (Target.bBuildEditor == true)
{
// TODO: Remove all landscape editing code from the Landscape module!!!
PrivateIncludePathModuleNames.Add("LandscapeEditor");
PrivateDependencyModuleNames.AddRange(
new string[] {
"EditorFramework",
"UnrealEd",
"MaterialUtilities",
"SlateCore",
"Slate",
"GeometryCore",
"MeshUtilities",
"MeshUtilitiesCommon",
"MeshBuilderCommon",
"MeshBuilder",
}
);
DynamicallyLoadedModuleNames.Add("NaniteBuilder");
PrivateIncludePathModuleNames.Add("NaniteBuilder");
CircularlyReferencedDependentModules.AddRange(
new string[] {
"UnrealEd",
"MaterialUtilities",
}
);
}
}
}