leopard8352
2023-12-04 8871a733498c8d717714b83bb096b7738224541a
提交 | 用户 | 时间
8871a7 1 // Copyright Epic Games, Inc. All Rights Reserved.
L 2
3 using System.IO;
4 using UnrealBuildTool;
5
6 public class Taptap : ModuleRules
7 {
8     public Taptap(ReadOnlyTargetRules Target) : base(Target)
9     {
10         PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
11         
12         PublicIncludePaths.AddRange(
13             new string[] {
14                 // ... add public include paths required here ...
15             }
16             );
17                 
18         
19         PrivateIncludePaths.AddRange(
20             new string[] {
21                 // ... add other private include paths required here ...
22             }
23             );
24             
25         
26         PublicDependencyModuleNames.AddRange(
27             new string[]
28             {
29                 "Core",
30                 "Json",
31                 "JsonUtilities",
32                 "HTTP"
33             }
34             );
35             
36         
37         PrivateDependencyModuleNames.AddRange(
38             new string[]
39             {
40                 "CoreUObject",
41                 "Engine",
42                 "Slate",
43                 "SlateCore"
44                 // ... add private dependencies that you statically link with here ...    
45             }
46             );
47         
48         
49         DynamicallyLoadedModuleNames.AddRange(
50             new string[]
51             {
52                 // ... add any modules that your module loads dynamically here ...
53             }
54             );
55
56         // PLATFORM_ANDROID 1
57
58         // PublicDefinitions.AddRange(new string[]
59         // {
60         //     "PLATFORM_ANDROID=1"
61         // });
62         
63         if (Target.Platform == UnrealTargetPlatform.Android)
64         {
65             PrivateDependencyModuleNames.AddRange(new[]
66             {
67                 "Launch"
68             });
69             string path = Utils.MakePathRelativeTo(
70                 ModuleDirectory, Target.RelativeEnginePath);
71             AdditionalPropertiesForReceipt.Add(
72                 "AndroidPlugin",
73                 Path.Combine(path, "Taptap_APL.xml"));
74         }
75     }
76 }