Files
UnrealEngineUWP/Engine/Source/Runtime/Landscape/Landscape.Build.cs
Benn Gallagher 8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00

79 lines
1.5 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[] {
"Runtime/Engine/Private", // for Engine/Private/Collision/PhysXCollision.h
"Runtime/Landscape/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"
}
);
CircularlyReferencedDependentModules.AddRange(
new string[] {
"UnrealEd",
"MaterialUtilities",
}
);
}
}
}