Add Games File
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class VRM4UImporter : ModuleRules
|
||||
{
|
||||
public VRM4UImporter(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[] {
|
||||
"Core",
|
||||
"CoreUObject",
|
||||
"InputCore",
|
||||
"EditorStyle",
|
||||
"ApplicationCore",
|
||||
"Engine",
|
||||
"UnrealEd",
|
||||
"Slate",
|
||||
"SlateCore",
|
||||
"VRM4U",
|
||||
"VRM4ULoader",
|
||||
|
||||
"AnimGraphRuntime",
|
||||
"AnimGraph",
|
||||
"BlueprintGraph",
|
||||
|
||||
"PropertyEditor",
|
||||
"Persona",
|
||||
"MainFrame",
|
||||
|
||||
|
||||
//"ToolMenus",
|
||||
});
|
||||
|
||||
BuildVersion Version;
|
||||
if (BuildVersion.TryRead(BuildVersion.GetDefaultFileName(), out Version)) {
|
||||
//if (Version.MajorVersion == X && Version.MinorVersion == Y)
|
||||
if (Version.MajorVersion == 4 && Version.MinorVersion <= 23)
|
||||
{
|
||||
}
|
||||
else {
|
||||
PrivateDependencyModuleNames.Add("ToolMenus");
|
||||
}
|
||||
|
||||
if (Version.MajorVersion == 4 || (Version.MajorVersion == 5 && Version.MinorVersion <= 1))
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
PrivateDependencyModuleNames.Add("AssetDefinition");
|
||||
}
|
||||
}
|
||||
|
||||
PrivateIncludePathModuleNames.AddRange(
|
||||
new string[] {
|
||||
"AssetTools",
|
||||
"AssetRegistry"
|
||||
});
|
||||
|
||||
DynamicallyLoadedModuleNames.AddRange(
|
||||
new string[] {
|
||||
"AssetTools",
|
||||
"AssetRegistry"
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user