32 lines
740 B
C#
32 lines
740 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class Navmesh : ModuleRules
|
|
{
|
|
public Navmesh(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(new string[] { "Core" });
|
|
|
|
// This is an unsupported feature and has not been finished to production quality.
|
|
if (Target.bCompileNavmeshSegmentLinks)
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_SEGMENT_LINKS=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_SEGMENT_LINKS=0");
|
|
}
|
|
|
|
if (Target.bCompileNavmeshClusterLinks)
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_CLUSTER_LINKS=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_CLUSTER_LINKS=0");
|
|
}
|
|
}
|
|
}
|
|
}
|