Files
UnrealEngineUWP/Engine/Source/Runtime/Online/Stomp/Stomp.Build.cs
Josh Adams b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00

49 lines
873 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Stomp : ModuleRules
{
protected virtual bool bPlatformSupportsStomp
{
get
{
return Target.Platform == UnrealTargetPlatform.Win64 ||
Target.Platform == UnrealTargetPlatform.Mac ||
Target.IsInPlatformGroup(UnrealPlatformGroup.Unix);
}
}
public Stomp(ReadOnlyTargetRules Target) : base(Target)
{
bool bShouldUseModule = bPlatformSupportsStomp;
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core"
}
);
if (bShouldUseModule)
{
PublicDefinitions.Add("WITH_STOMP=1");
PrivateIncludePaths.AddRange(
new string[]
{
"Runtime/Online/Stomp/Private",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"WebSockets"
}
);
}
else
{
PublicDefinitions.Add("WITH_STOMP=0");
}
}
}