-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGameModule.Build.cs.template
More file actions
39 lines (29 loc) · 1.21 KB
/
Copy pathGameModule.Build.cs.template
File metadata and controls
39 lines (29 loc) · 1.21 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
%COPYRIGHT_LINE%
using UnrealBuildTool;
public class %MODULE_NAME% : ModuleRules
{
public %MODULE_NAME%(ReadOnlyTargetRules Target) : base(Target)
{
// Add XIM DEBUG code in DebugGame
int WithXimDebug = Target.Configuration == UnrealTargetConfiguration.DebugGame ? 1 : 0;
PublicDefinitions.Add("WITH_XIM_DEBUG="+WithXimDebug);
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { %PUBLIC_DEPENDENCY_MODULE_NAMES% });
PrivateDependencyModuleNames.AddRange(new string[] { %PRIVATE_DEPENDENCY_MODULE_NAMES% });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
if (Target.bBuildEditor == true)
{
PrivateDependencyModuleNames.AddRange(new string[] {
// ... add any Editor-only modules here ...
});
}
DynamicallyLoadedModuleNames.AddRange(new string[]
{
// ... add any modules that your module loads dynamically here ...
});
}
}