revamp the ubt third-party dependency system
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class SenseGloveBuildHacks : ModuleRules
|
||||
@@ -55,23 +54,18 @@ public class SenseGloveBuildHacks : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SGConnectThirdPartyHeaders",
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SenseGloveLog",
|
||||
}
|
||||
);
|
||||
|
||||
AddConnectHeaders();
|
||||
}
|
||||
|
||||
private void AddConnectHeaders()
|
||||
{
|
||||
string PluginRootDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", ".."));
|
||||
string SourceDirectory = Path.GetFullPath(Path.Combine(PluginRootDirectory, "Source"));
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(SourceDirectory, "ThirdParty"));
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
|
||||
PrivateIncludePaths.Add(IncludePath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user