You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- ModelProtoConverter and ModelProtoFileReader convined again (as non-unity is breaking this anyway). #rb Francisco.Vicente _codereview Francisco.Vicente #rnx #ROBOMERGE-AUTHOR: gines.hidalgo #ROBOMERGE-SOURCE: CL 18114237 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218) [CL 18124350 by gines hidalgo in ue5-release-engine-test branch]
54 lines
1.3 KiB
C#
54 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class ModelProtoFileReader : ModuleRules
|
|
{
|
|
public ModelProtoFileReader( ReadOnlyTargetRules Target ) : base( Target )
|
|
{
|
|
// Define when ModelProtoFileReader is available
|
|
// Disabled to avoid linking error when compiled in-game with UEAndORT back end, Schema*.txt/*.cpp files also modified
|
|
bool bIsModelProtoFileReaderSupported = false; //(Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Linux || Target.Platform == UnrealTargetPlatform.Mac);
|
|
if (bIsModelProtoFileReaderSupported)
|
|
{
|
|
PublicDefinitions.Add("WITH_MODEL_PROTO_CONVERTER_SUPPORT");
|
|
}
|
|
|
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
System.IO.Path.Combine(ModuleDirectory, "..")
|
|
}
|
|
);
|
|
|
|
PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Generated"));
|
|
|
|
PublicDependencyModuleNames.AddRange
|
|
(
|
|
new string[] {
|
|
"Core",
|
|
"ModelProto"
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange
|
|
(
|
|
new string[] {
|
|
// "ONNXRuntimeProto",
|
|
"ThirdPartyHelperAndDLLLoader"
|
|
}
|
|
);
|
|
|
|
if (bIsModelProtoFileReaderSupported)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange
|
|
(
|
|
new string[] {
|
|
"Protobuf"
|
|
}
|
|
);
|
|
}
|
|
}
|
|
} |