Skip to content

Commit

Permalink
Refactor module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sixze committed Jan 14, 2024
1 parent 1460e8e commit adff02c
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
8 changes: 6 additions & 2 deletions Source/ALS/ALS.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ public ALS(ReadOnlyTargetRules Target) : base(Target)

bEnableNonInlinedGenCppWarnings = true;

PublicDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "GameplayTags", "AnimGraphRuntime", "RigVM", "ControlRig"
});

PrivateDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "EngineSettings", "NetCore", "PhysicsCore",
"GameplayTags", "AnimGraphRuntime", "RigVM", "ControlRig", "Niagara"
"EngineSettings", "NetCore", "PhysicsCore", "Niagara"
});

if (Target.Type == TargetRules.TargetType.Editor)
Expand Down
7 changes: 6 additions & 1 deletion Source/ALSCamera/ALSCamera.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ public ALSCamera(ReadOnlyTargetRules Target) : base(Target)

bEnableNonInlinedGenCppWarnings = true;

PublicDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "GameplayTags", "ALS"
});

PrivateDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "EngineSettings", "GameplayTags", "ALS"
"EngineSettings"
});
}
}
9 changes: 7 additions & 2 deletions Source/ALSEditor/ALSEditor.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,21 @@ public ALSEditor(ReadOnlyTargetRules Target) : base(Target)

bEnableNonInlinedGenCppWarnings = true;

PrivateDependencyModuleNames.AddRange(new[]
PublicDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "AnimationModifiers", "AnimationBlueprintLibrary", "ALS"
});

if (Target.bBuildEditor)
{
PublicDependencyModuleNames.AddRange(new[]
{
"AnimGraph"
});

PrivateDependencyModuleNames.AddRange(new[]
{
"AnimGraph", "AnimGraphRuntime", "BlueprintGraph"
"BlueprintGraph"
});
}
}
Expand Down
7 changes: 6 additions & 1 deletion Source/ALSExtras/ALSExtras.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ public ALSExtras(ReadOnlyTargetRules Target) : base(Target)

bEnableNonInlinedGenCppWarnings = true;

PublicDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "AIModule", "ALS"
});

PrivateDependencyModuleNames.AddRange(new[]
{
"Core", "CoreUObject", "Engine", "EnhancedInput", "GameplayTags", "AIModule", "ALS", "ALSCamera"
"EnhancedInput", "ALSCamera"
});
}
}

0 comments on commit adff02c

Please sign in to comment.