Unreal access to the PixoVR Platform
Loading...
Searching...
No Matches
PixoPlatformCore.Build.cs
Go to the documentation of this file.
1// Copyright 2022 PixoVR Corp. All Rights Reserved.
2
3using System.IO;
4
6{
8 {
9 public PixoPlatformCore(ReadOnlyTargetRules Target) : base(Target)
10 {
11 PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
12 PrecompileForTargets = PrecompileTargetsType.Any;
13
14 PrivateIncludePaths.AddRange(
15 new string[] {
16 "PixoPlatformCore/Private",
17 // ... add other private include paths required here ...
18 });
19
20 PublicDependencyModuleNames.AddRange(
21 new string[]
22 {
23 "Core",
24 "CoreUObject",
25 "Engine",
26 "Json",
27 "EngineSettings",
28 });
29
30 PrivateDependencyModuleNames.AddRange(
31 new string[]
32 {
33 "Projects"
34 });
35
36 if (Target.Version.MajorVersion >= 5 && Target.Version.MinorVersion >= 2)
37 {
38 PublicDependencyModuleNames.AddRange(
39 new string[]
40 {
41 "XRBase",
42 }
43 );
44 }
45 else
46 {
47 PublicDependencyModuleNames.AddRange(
48 new string[]
49 {
50 "HeadMountedDisplay",
51 }
52 );
53 }
54
55 if (Target.bBuildEditor == true)
56 {
57 PublicDependencyModuleNames.Add("AndroidRuntimeSettings");
58 PublicDependencyModuleNames.Add("UnrealEd");
59 }
60 }
61 }
62}
PixoPlatformCore(ReadOnlyTargetRules Target)