Files
UnrealEngineUWP/Engine/Source/Developer/CookedEditor/CookedEditor.Build.cs
christopher waters de3d730026 Moving some LinuxTargetPlatform and MacTargetPlatform private files to Public since they're used by other modules.
#preflight 644972116b589f8b3688999f

[CL 25206591 by christopher waters in ue5-main branch]
2023-04-26 16:42:00 -04:00

53 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class CookedEditor : ModuleRules
{
public CookedEditor(ReadOnlyTargetRules Target) : base(Target)
{
if (!Target.bCompileAgainstEngine)
{
throw new BuildException("CookedEditor module is meant for cooking only operations, and currently requires Engine to be enabled. This module is being included in a non-Engine-enabled target.");
}
PrivateDependencyModuleNames.AddRange(new string[]
{
"Core",
"AssetRegistry",
"NetCore",
"CoreOnline",
"CoreUObject",
"Projects",
"Engine",
});
PublicDependencyModuleNames.AddRange(new string[]
{
"TargetPlatform",
});
PublicIncludePathModuleNames.Add("WindowsTargetPlatform");
if (IsPlatformAvailable(UnrealTargetPlatform.Linux))
{
PublicDefinitions.Add("COOKEDEDITOR_WITH_LINUXTARGETPLATFORM=1");
PublicIncludePathModuleNames.Add("LinuxTargetPlatform");
}
else
{
PublicDefinitions.Add("COOKEDEDITOR_WITH_LINUXTARGETPLATFORM=0");
}
if (IsPlatformAvailable(UnrealTargetPlatform.Mac))
{
PublicDefinitions.Add("COOKEDEDITOR_WITH_MACTARGETPLATFORM=1");
PublicIncludePathModuleNames.Add("MacTargetPlatform");
}
else
{
PublicDefinitions.Add("COOKEDEDITOR_WITH_MACTARGETPLATFORM=0");
}
}
}