You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[FYI] Florin.Pascu Original CL Desc ----------------------------------------------------------------- Desktop Platforms TP Refactor TPC/TPS Windows/Mac/Linux/WINGDK #jira UE-206488 #rb Brandon.Schaefer, Josh.Adams [CL 31397940 by florin pascu in ue5-main branch]
53 lines
1.3 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|