123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- using UnrealBuildTool;
- using System.IO;
- public class SpoutPlugin : ModuleRules
- {
- private string ModulePath
- {
- get { return ModuleDirectory; }
- }
- private string ThirdPartyPath
- {
- get { return Path.GetFullPath(Path.Combine(ModulePath, "../../ThirdParty/")); }
- }
-
- public SpoutPlugin(TargetInfo Target)
- {
- PublicIncludePaths.AddRange(
- new string[] {
- "SpoutPlugin/Public",
- Path.Combine(ThirdPartyPath, "Spout/include")
-
-
- }
- );
-
- PrivateIncludePaths.AddRange(
- new string[] {
- "SpoutPlugin/Private",
-
- }
- );
-
- PublicDependencyModuleNames.AddRange(
- new string[]
- {
- "Core",
- "CoreUObject",
- "Engine",
- "RHI",
- "RenderCore"
-
- }
- );
- PrivateDependencyModuleNames.AddRange(
- new string[]
- {
- "Slate", "SlateCore"
-
- }
- );
- DynamicallyLoadedModuleNames.AddRange(
- new string[]
- {
-
-
- }
- );
-
-
- if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32))
- {
- string PlatformString = (Target.Platform == UnrealTargetPlatform.Win64) ? "amd64" : "x86";
- PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "Spout/lib", PlatformString, "Spout.lib"));
- RuntimeDependencies.Add(new RuntimeDependency(Path.Combine(ThirdPartyPath, "Spout/lib", PlatformString, "Spout.dll")));
-
-
-
-
-
- }
-
- }
- }
|