Files
UnrealEngine/Engine/Source/Programs/LowLevelTests/FoundationTests/FoundationTests.Target.cs
2025-05-18 13:04:45 +08:00

22 lines
698 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
[SupportedPlatforms(UnrealPlatformClass.All)]
public class FoundationTestsTarget : TestTargetRules
{
public FoundationTestsTarget(TargetInfo Target) : base(Target)
{
// Collects all tests decorated with #if WITH_LOW_LEVELTESTS from dependencies
bWithLowLevelTestsOverride = true;
bCompileWithPluginSupport = true;
bCompileAgainstCoreUObject = true;
bCompileAgainstApplicationCore = true;
bBuildWithEditorOnlyData = Target.Platform.IsInGroup(UnrealPlatformGroup.Desktop)
&& (Target.Configuration == UnrealTargetConfiguration.Debug || Target.Configuration == UnrealTargetConfiguration.Development);
}
}