58 lines
1.3 KiB
C#
58 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class AutomationController : ModuleRules
|
|
{
|
|
public AutomationController(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"CoreUObject",
|
|
"AutomationTest",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"AssetRegistry",
|
|
"AutomationMessages",
|
|
"UnrealEdMessages",
|
|
"MessageLog",
|
|
"Json",
|
|
"JsonUtilities",
|
|
"ScreenShotComparisonTools",
|
|
"HTTP",
|
|
"AssetRegistry"
|
|
}
|
|
);
|
|
|
|
if (Target.bBuildEditor)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"EditorFramework",
|
|
"UnrealEd",
|
|
"Engine", // Needed for UWorld/GWorld to find current level
|
|
}
|
|
);
|
|
}
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"MessagingCommon"
|
|
}
|
|
);
|
|
|
|
if (Target.bCompileAgainstEngine && Target.Configuration != UnrealTargetConfiguration.Shipping)
|
|
{
|
|
PrecompileForTargets = PrecompileTargetsType.Any;
|
|
}
|
|
}
|
|
}
|
|
}
|