mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-09 00:09:43 +00:00
54 lines
1.0 KiB
C#
54 lines
1.0 KiB
C#
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class OSC : ModuleRules
|
|
{
|
|
public OSC(TargetInfo Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Networking",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
"Sockets",
|
|
"InputCore",
|
|
"Slate",
|
|
"SlateCore",
|
|
}
|
|
);
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[] {
|
|
"Settings",
|
|
}
|
|
);
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"OSC/Private",
|
|
"OSC/Private/Common",
|
|
"OSC/Private/Receive",
|
|
"OSC/Private/Send",
|
|
}
|
|
);
|
|
|
|
if (Target.Type.HasValue && TargetRules.IsEditorType(Target.Type.Value))
|
|
{
|
|
Definitions.Add("OSC_EDITOR_BUILD=1");
|
|
|
|
PrivateDependencyModuleNames.Add("UnrealEd");
|
|
}
|
|
else
|
|
{
|
|
Definitions.Add("OSC_EDITOR_BUILD=0");
|
|
}
|
|
}
|
|
}
|
|
}
|