Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- using System.IO;
- using UnrealBuildTool;
- public class Usens0729 : ModuleRules
- {
- private string ModulePath
- {
- get { return ModuleDirectory; }
- }
- private string ThirdPartyPath
- {
- get { return Path.GetFullPath(Path.Combine(ModulePath, "../../ThirdParty/")); }
- }
- public Usens0729(TargetInfo Target)
- {
- PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
- PrivateDependencyModuleNames.AddRange(new string[] { });
- // Uncomment if you are using Slate UI
- // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
- // Uncomment if you are using online features
- // PrivateDependencyModuleNames.Add("OnlineSubsystem");
- // if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
- // {
- // if (UEBuildConfiguration.bCompileSteamOSS == true)
- // {
- // DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
- // }
- // }
- LoadUsens(Target);
- }
- bool LoadUsens(TargetInfo target)
- {
- string LibrariesPath = Path.Combine(ThirdPartyPath, "Usens", "lib");
- PublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "Fingo64.lib"));
- PublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "Fingo64d.lib"));
- string BinariesPath = Path.Combine(ThirdPartyPath, "Usens", "bin");
- //PublicAdditionalLibraries.Add(Path.Combine(BinariesPath, "Fingo64.dll"));
- //PublicAdditionalLibraries.Add(Path.Combine(BinariesPath, "Fingo64d.dll"));
- //PublicAdditionalLibraries.Add(Path.Combine(BinariesPath, "libzmq.dll"));
- //PublicAdditionalLibraries.Add(Path.Combine(BinariesPath, "pthreadVC2.dll"));
- PublicDelayLoadDLLs.Add(Path.Combine(BinariesPath, "Fingo64.dll"));
- PublicDelayLoadDLLs.Add(Path.Combine(BinariesPath, "Fingo64d.dll"));
- PublicDelayLoadDLLs.Add(Path.Combine(BinariesPath, "libzmq.dll"));
- PublicDelayLoadDLLs.Add(Path.Combine(BinariesPath, "pthreadVC2.dll"));
- PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "Usens", "lib"));
- PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "Usens", "include"));
- Definitions.Add(string.Format("WITH_USENS_BINDING={0}", 1));
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement