Files
UnrealEngine/Engine/Source/Programs/PlainPropsTests/PlainPropsTests.Build.cs
2025-05-18 13:04:45 +08:00

41 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class PlainPropsTests : TestModuleRules
{
static PlainPropsTests()
{
if (InTestMode)
{
TestMetadata = new Metadata();
TestMetadata.TestName = "PlainProps";
TestMetadata.TestShortName = "PlainProps";
TestMetadata.ReportType = "xml";
TestMetadata.Deactivated = true;
//TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.Linux);
//TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.Mac);
string PlatformCompilationArgs;
foreach (var Platform in UnrealTargetPlatform.GetValidPlatforms())
{
PlatformCompilationArgs = "-allmodules";
TestMetadata.PlatformCompilationExtraArgs.Add(Platform, PlatformCompilationArgs);
}
// Platform-specific tags
//TestMetadata.PlatformTags.Add(UnrealTargetPlatform.Linux, "~[.]~[Slow]");
}
}
public PlainPropsTests(ReadOnlyTargetRules Target) : base(Target, true)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"PlainProps"
});
if (Target.bBuildWithEditorOnlyData)
{
PrivateDependencyModuleNames.AddRange(new string[] { "DesktopPlatform" });
}
}
}