You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* 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]
79 lines
1.5 KiB
C#
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",
|
|
}
|
|
);
|
|
}
|
|
}
|
|
}
|