21 lines
745 B
C#
21 lines
745 B
C#
// Copyright 2023 PICO Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class PICOOpenXRLoader : ModuleRules
|
|
{
|
|
public PICOOpenXRLoader(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
|
{
|
|
RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "PICOOpenXRLoader/Lib/arm64-v8a/libopenxr_loader_pico.so"));
|
|
// AndroidPlugin
|
|
{
|
|
string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
|
|
AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "PICOMobile_APL.xml"));
|
|
}
|
|
}
|
|
}
|
|
} |