You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
3.7 KiB
84 lines
3.7 KiB
// Copyright 2019 yangxiangyun
|
|
// All Rights Reserved
|
|
|
|
using System.IO;
|
|
#if UE_5_0_OR_LATER
|
|
using EpicGames.Core;
|
|
#elif UE_4_17_OR_LATER
|
|
using Tools.DotNETCommon;
|
|
#endif
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class NodeGraphAssistant : ModuleRules
|
|
{
|
|
public NodeGraphAssistant(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
string enginePath = Path.GetFullPath(Target.RelativeEnginePath);
|
|
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
// ... add public include paths required here ...
|
|
}
|
|
);
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
enginePath+"Source/Runtime/Core/Public",
|
|
enginePath+"Source/Runtime/Projects/Public",
|
|
enginePath+"Source/Runtime/Projects/Public/Interfaces",
|
|
enginePath+"Source/Runtime/Engine/Classes",
|
|
enginePath+"Source/Runtime/Engine/Public",
|
|
enginePath+"Source/Runtime/SlateCore/Public/Styling",
|
|
enginePath+"Source/Runtime/Slate/Public/Framework/Application",
|
|
enginePath+"Source/Runtime/Slate/Public/Framework",
|
|
enginePath+"Source/Runtime/SlateCore/Public",
|
|
enginePath+"Source/Editor/UnrealEd/Public",
|
|
enginePath+"Source/Editor/UnrealEd/Classes",
|
|
enginePath+"Source/Editor/GraphEditor/Public",
|
|
enginePath+"Source/Editor/EditorStyle/Public",
|
|
enginePath+"Source/Editor/MaterialEditor/Public",
|
|
enginePath+"Source/Editor/AnimationBlueprintEditor/Public",
|
|
enginePath+"Source/Editor/Kismet/Public",
|
|
enginePath+"Source/Editor/BlueprintGraph/Classes",
|
|
enginePath+"Source/Editor/KismetWidgets/Public",
|
|
|
|
//enginePath+"Source/Editor/PropertyEditor/Public",
|
|
|
|
}
|
|
);
|
|
PrivateIncludePaths.Add(enginePath + "Source/Editor/GraphEditor/Private");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Runtime/Launch/Resources");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Runtime/Engine/Classes/EdGraph");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Editor/AnimationBlueprintEditor/Private");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Editor/AudioEditor/Private");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Editor/MaterialEditor/Private");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Editor/UnrealEd/Private");
|
|
PrivateIncludePaths.Add(enginePath + "Source/Runtime/RenderCore/Public");
|
|
|
|
//PrivateIncludePaths.Add(enginePath + "Plugins/FX/Niagara/Source/NiagaraEditor/Public");
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"RenderCore","Core","CoreUObject","Slate","SlateCore","UnrealEd","GraphEditor",
|
|
"InputCore","EditorStyle","Engine","AnimGraph","Projects",
|
|
"MaterialEditor","BlueprintGraph","AnimationBlueprintEditor","AudioEditor","KismetWidgets","NGAGraphUtility"
|
|
//"PropertyEditor","AppFramework","NiagaraEditor",
|
|
// ... add private dependencies that you statically link with here ...
|
|
}
|
|
);
|
|
#if UE_4_17_OR_LATER
|
|
PrivateDependencyModuleNames.Add("ApplicationCore");
|
|
#endif
|
|
|
|
DynamicallyLoadedModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
// ... add any modules that your module loads dynamically here ...
|
|
}
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|