You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
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");
|
|
|
|
// we currently need to pull in desktop templates that are private
|
|
// @todo move these out to Public so they can be extended like this
|
|
string EnginePath = Path.GetFullPath(Target.RelativeEnginePath);
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
Path.Combine(EnginePath, "Source/Developer/Linux/LinuxTargetPlatform/Private"),
|
|
Path.Combine(EnginePath, "Source/Developer/Mac/MacTargetPlatform/Private"),
|
|
}
|
|
);
|
|
|
|
}
|
|
}
|