You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
49 lines
873 B
C#
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");
|
|
}
|
|
}
|
|
}
|