2018-03-27 14:27:07 -04:00
|
|
|
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
|
|
|
{
|
|
|
|
|
public class NavigationSystem : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public NavigationSystem(ReadOnlyTargetRules Target) : base(Target)
|
|
|
|
|
{
|
|
|
|
|
PublicIncludePaths.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Runtime/NavigationSystem/Public",
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Runtime/NavigationSystem/Private",
|
|
|
|
|
"Runtime/Engine/Private",
|
|
|
|
|
"Developer/DerivedDataCache/Public",
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Core",
|
|
|
|
|
"CoreUObject",
|
|
|
|
|
"Engine",
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"RHI",
|
|
|
|
|
"RenderCore",
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
|
|
|
new string[]
|
|
|
|
|
{
|
|
|
|
|
"TargetPlatform",
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
if (!Target.bBuildRequiresCookedData && Target.bCompileAgainstEngine)
|
|
|
|
|
{
|
|
|
|
|
DynamicallyLoadedModuleNames.Add("DerivedDataCache");
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-14 15:58:25 -04:00
|
|
|
SetupModulePhysicsSupport(Target);
|
2018-03-27 14:27:07 -04:00
|
|
|
|
|
|
|
|
if (Target.bCompileRecast)
|
|
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.Add("Navmesh");
|
|
|
|
|
PublicDefinitions.Add("WITH_RECAST=1");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
// Because we test WITH_RECAST in public Engine header files, we need to make sure that modules
|
|
|
|
|
// that import us also have this definition set appropriately. Recast is a private dependency
|
|
|
|
|
// module, so it's definitions won't propagate to modules that import Engine.
|
|
|
|
|
PublicDefinitions.Add("WITH_RECAST=0");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Target.bBuildEditor == true)
|
|
|
|
|
{
|
|
|
|
|
// @todo api: Only public because of WITH_EDITOR and UNREALED_API
|
|
|
|
|
PublicDependencyModuleNames.Add("UnrealEd");
|
|
|
|
|
CircularlyReferencedDependentModules.Add("UnrealEd");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|