Files
UnrealEngineUWP/Engine/Source/Developer/Virtualization/Virtualization.Build.cs
paul chipchase 172a1f046f Do not use/include the MessageLog module in the Virtualization module if the target is not building for slate.
#rb Per.Larsson
#jira UE-198807
#rnx

- We only needed the MessageLog module to setup a VA tab in the message log slate window which only matters if we are actually building for a target that uses slate.

[CL 29043098 by paul chipchase in ue5-main branch]
2023-10-24 07:26:08 -04:00

42 lines
743 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class Virtualization : ModuleRules
{
public Virtualization(ReadOnlyTargetRules Target) : base(Target)
{
UnsafeTypeCastWarningLevel = WarningLevel.Error;
PrivateIncludePathModuleNames.Add("Analytics");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"DerivedDataCache",
"Projects",
"SourceControl"
}
);
if (Target.bUsesSlate)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"MessageLog",
"Slate",
"SlateCore"
}
);
PublicDefinitions.Add("UE_VA_WITH_SLATE=1");
}
else
{
PublicDefinitions.Add("UE_VA_WITH_SLATE=0");
}
}
}