-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBiomeMapper.Build.cs
More file actions
73 lines (61 loc) · 1.98 KB
/
BiomeMapper.Build.cs
File metadata and controls
73 lines (61 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class BiomeMapper : ModuleRules
{
public BiomeMapper(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(
new string[] {
"BiomeMapper/Widgets",
"BiomeMapper/Public"
}
);
PrivateIncludePaths.AddRange(
new string[] {
"BiomeMapper/Widgets",
"BiomeMapper/Private"
}
);
// Public dependencies
PublicDependencyModuleNames.AddRange(new string[]
{
"Core",
"CoreUObject",
"Engine",
"InputCore",
"UMG",
"Slate", // Required for Slate widgets
"SlateCore", // Required for Slate widgets
"BiomeMapper",
"ImageWrapper"
});
// Private dependencies (Editor-only modules)
PrivateDependencyModuleNames.AddRange(new string[]
{
"UnrealEd", // Editor utilities and extensions
"LevelEditor", // Provides editor-related functionality
"EditorFramework", // For FEditorModeInfo
"EditorStyle", // Optional: For editor-specific styling
"Projects", // For working with projects in the editor
"ToolMenus", // For adding custom menus in the editor
"ImageWrapper"
});
DynamicallyLoadedModuleNames.AddRange(
new string[]
{
// ... add any modules that your module loads dynamically here ...
}
);
// Ensure UnrealEd is only included for editor builds
if (Target.Type == TargetRules.TargetType.Editor)
{
PrivateDependencyModuleNames.Add("EditorScriptingUtilities");
}
// Enable IWYU for better header management
bEnforceIWYU = true;
// Optimize build times
MinFilesUsingPrecompiledHeaderOverride = 1;
bUseUnity = true;
}
}