public AudioCaptureAudioUnit(ReadOnlyTargetRules Target) : base(Target) { PublicFrameworks.AddRange(new string[] { "CoreAudio", "AVFoundation", "AudioToolbox" }); PrivateDependencyModuleNames.Add("Core"); PrivateDependencyModuleNames.Add("AudioCaptureCore"); PublicDefinitions.Add("WITH_AUDIOCAPTURE=1"); }
public KonashiBPLibrary(TargetInfo Target) { PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateIncludePaths.AddRange(new string[] { "KoashiBPLibrary/Private", // ... add other private include paths required here ... }); PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "Konashi", "libKonashi.a")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi", "Category")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi", "Category", "CoreBluetooth")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi", "Category", "Konashi")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi", "Constant")); PrivateIncludePaths.Add(Path.Combine(ThirdPartyPath, "Konashi", "Impl")); PublicFrameworks.AddRange(new string[] { "CoreGraphics", "Foundation", "CoreBluetooth", "JavaScriptCore", "UIKit" }); } }
public PushNotification(TargetInfo Target) { PrivateIncludePaths.AddRange( new string[] { "PushNotification/Private", } ); PrivateDependencyModuleNames.AddRange( new string[] { "Engine", "Core" } ); if (Target.Platform == UnrealTargetPlatform.IOS) { PublicFrameworks.AddRange( new string[] { "CoreGraphics", "Foundation", "UIKit" } ); } }
public AppleARKit(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange( new string[] { "../../../../Source/Runtime/Renderer/Private", // ... add other private include paths required here ... } ); PublicDependencyModuleNames.AddRange( new string[] { "Core", "Engine", // ... add other public dependencies that you statically link with here ... } ); PrivateDependencyModuleNames.AddRange( new string[] { "CoreUObject", "Slate", "SlateCore", "RHI", "Renderer", "RenderCore", "ShaderCore", "HeadMountedDisplay", "IOSRuntimeSettings", "AugmentedReality", "ProceduralMeshComponent", "LiveLink", "LiveLinkInterface", // "OnlineSubsystem", "Sockets" // ... add private dependencies that you statically link with here ... } ); DynamicallyLoadedModuleNames.AddRange( new string[] { // ... add any modules that your module loads dynamically here ... } ); if (Target.Platform == UnrealTargetPlatform.IOS) { PublicDefinitions.Add("ARKIT_SUPPORT=1"); PublicFrameworks.Add("ARKit"); } else { PublicDefinitions.Add("ARKIT_SUPPORT=0"); } }
public AudioCaptureRtAudio(ReadOnlyTargetRules Target) : base(Target) { PrivateDependencyModuleNames.Add("Core"); PrivateDependencyModuleNames.Add("AudioCaptureCore"); if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows)) { PublicDefinitions.Add("WITH_RTAUDIO=1"); PublicDefinitions.Add("WITH_AUDIOCAPTURE=1"); // Allow us to use direct sound AddEngineThirdPartyPrivateStaticDependencies(Target, "DirectSound"); } else if (Target.Platform == UnrealTargetPlatform.XboxOne) { PublicDefinitions.Add("WITH_RTAUDIO=1"); PublicDefinitions.Add("WITH_AUDIOCAPTURE=1"); } else if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.AddRange(new string[] { "CoreAudio", "AudioUnit", "AudioToolbox" }); PublicDefinitions.Add("WITH_RTAUDIO=1"); PublicDefinitions.Add("WITH_AUDIOCAPTURE=1"); } else { PublicDefinitions.Add("WITH_RTAUDIO=0"); } }
public WebAuth(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PrivateDependencyModuleNames.AddRange( new string[] { "Core", "Engine" } ); if (Target.Platform == UnrealTargetPlatform.IOS) { // << Add these lines to your project's build.cs when building for iOS 12+ // PublicFrameworks.Add("AuthenticationServices"); // PublicDefinitions.Add("WEBAUTH_PLATFORM_IOS_12"); // iOS 11+ legacy support PublicFrameworks.Add("SafariServices"); } if (Target.Platform == UnrealTargetPlatform.Android) { PrivateDependencyModuleNames.Add("Launch"); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "WebAuth_UPL.xml")); } }
public nativeTest(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "AppleARKit", "HeadMountedDisplay", "AugmentedReality", "AppleImageUtils" }); 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"); // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateDependencyModuleNames.Add("IOSRuntimeSettings"); PublicFrameworks.Add("ARKit"); } }
public StandaloneRenderer(TargetInfo Target) { PrivateIncludePaths.Add("Developer/StandaloneRenderer/Private"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "ImageWrapper", "InputCore", "SlateCore", } ); AddThirdPartyPrivateStaticDependencies(Target, "OpenGL"); if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32)) { // @todo: This should be private? Not sure!! AddThirdPartyPrivateStaticDependencies(Target, "DX11"); } if (Target.Platform == UnrealTargetPlatform.Linux) { AddThirdPartyPrivateStaticDependencies(Target, "SDL2"); } if (Target.Platform == UnrealTargetPlatform.IOS) { PublicFrameworks.AddRange(new string[] { "OpenGLES", "GLKit" }); // weak for IOS8 support since CAMetalLayer is in QuartzCore PublicWeakFrameworks.AddRange(new string[] { "QuartzCore" }); } }
public AudioMixerCoreAudio(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePathModuleNames.Add("TargetPlatform"); PublicIncludePaths.Add("Runtime/AudioMixer/Public"); PrivateIncludePaths.Add("Runtime/AudioMixer/Private"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", } ); PrecompileForTargets = PrecompileTargetsType.None; PrivateDependencyModuleNames.Add("AudioMixer"); AddEngineThirdPartyPrivateStaticDependencies(Target, "UEOgg", "Vorbis", "VorbisFile" ); PublicFrameworks.AddRange(new string[] { "CoreAudio", "AudioUnit", "AudioToolbox" }); Definitions.Add("WITH_OGGVORBIS=1"); }
public MobileUtils(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDefinitions.Add("WITH_MOBILEUTILS=1"); PrivateIncludePaths.Add("MobileUtils/Private"); PublicDependencyModuleNames.AddRange(new string[] { "Engine", "Core", "CoreUObject", "OnlineSubsystem" }); PrivateIncludePathModuleNames.AddRange(new string[] { "Settings" }); if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateIncludePaths.Add("MobileUtils/Private/IOS"); } else if (Target.Platform == UnrealTargetPlatform.Android) { PrivateIncludePaths.Add("MobileUtils/Private/Android"); } // Additional Frameworks and Libraries for IOS if (Target.Platform == UnrealTargetPlatform.IOS) { PublicAdditionalFrameworks.Add( new UEBuildFramework( "Reachability", "../ThirdParty/IOS/Reachability.embeddedframework.zip" ) ); PublicAdditionalFrameworks.Add( new UEBuildFramework( "SSKeychain", "../ThirdParty/IOS/SSKeychain.embeddedframework.zip" ) ); PublicFrameworks.AddRange( new string[] { "SystemConfiguration", "Security" } ); PublicAdditionalLibraries.Add("z"); PublicAdditionalLibraries.Add("sqlite3"); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("IOSPlugin", Path.Combine(PluginPath, "MobileUtils_UPL_IOS.xml")); } // Additional Frameworks and Libraries for Android else if (Target.Platform == UnrealTargetPlatform.Android) { PrivateDependencyModuleNames.AddRange(new string[] { "Launch" }); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "MobileUtils_UPL_Android.xml")); } }
public AVIWriter(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange( new string[] { "Runtime/AVIWriter/Private", } ); PublicDependencyModuleNames.AddRange( new string[] { "Core", } ); if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32)) { if (Target.bCompileLeanAndMeanUE == false) { AddEngineThirdPartyPrivateStaticDependencies(Target, "DirectShow"); } } else if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.AddRange(new string[] { "AVFoundation", "CoreVideo", "CoreMedia" }); } }
public Voice(TargetInfo Target) { Definitions.Add("VOICE_PACKAGE=1"); PrivateIncludePaths.AddRange( new string[] { "Runtime/Online/Voice/Private", } ); PrivateDependencyModuleNames.AddRange( new string[] { "Core" } ); if (Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Win64) { AddThirdPartyPrivateStaticDependencies(Target, "DirectSound"); } else if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.AddRange(new string[] { "CoreAudio", "AudioToolbox", "AudioUnit" }); } AddThirdPartyPrivateStaticDependencies(Target, "libOpus"); }
public AppleMoviePlayer(ReadOnlyTargetRules Target) : base(Target) { PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", "MoviePlayer", "RenderCore", "RHI", "Slate", "ApplicationCore" } ); PrivateDependencyModuleNames.AddRange( new string[] { "SlateCore", } ); if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.AddRange( new string[] { "QuartzCore" } ); } }
public IOSReplayKit(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange(new string[] { "IOSReplayKit/Private", }); PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine" }); if (Target.bBuildEditor) { PrivateDependencyModuleNames.Add("UnrealEd"); } if (Target.Platform == UnrealTargetPlatform.IOS) { PublicFrameworks.AddRange(new string[] { "ReplayKit" }); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("IOSPlugin", Path.Combine(PluginPath, "IOSReplayKit_UPL.xml")); } }
public AppleMoviePlayer(TargetInfo Target) { PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", "MoviePlayer", "RenderCore", "RHI", "Slate" } ); PrivateDependencyModuleNames.AddRange( new string[] { "SlateCore", } ); PrivateIncludePaths.Add("Runtime/AppleMoviePlayer/Private"); if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.AddRange( new string[] { "QuartzCore" } ); } }
public Braze(ReadOnlyTargetRules Target) : base(Target) { PrivateDefinitions.Add("BRAZE_PACKAGE=1"); PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); PrivateDependencyModuleNames.AddRange(new string[] { }); // Android Specific if (Target.Platform == UnrealTargetPlatform.Android) { // For AndroidJNI PublicIncludePathModuleNames.Add("Launch"); PrivateDependencyModuleNames.AddRange(new string[] { "Launch", }); // Must be named AndroidPlugin string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "BrazeUPLAndroid.xml")); } // IOS specific if (Target.Platform == UnrealTargetPlatform.IOS) { PublicFrameworks.AddRange(new string[] { "AdSupport", "CoreTelephony" }); string FrameworkPath = Path.Combine(ModuleDirectory, "../ThirdParty/IOS/"); PublicAdditionalLibraries.Add(Path.Combine(FrameworkPath, "libBrazeIOS.a")); // todo: Attempt a static framework, use the following: // PublicAdditionalFrameworks.Add(new Framework("Appboy_IOS_SDK", Path.Combine(FrameworkPath, "Appboy_IOS_SDK.framework.zip"))); // RuntimeDependencies.Add(Path.Combine(FrameworkPath, "Appboy_IOS_SDK.framework.zip")); } }
public VivoxCoreSDK(ReadOnlyTargetRules Target) : base(Target) { Type = ModuleType.External; string VivoxSDKPath = ModuleDirectory; string PlatformSubdir = Target.Platform.ToString(); string VivoxLibPath = Path.Combine(VivoxSDKPath, "Lib", PlatformSubdir) + "/"; string VivoxIncludePath = Path.Combine(VivoxSDKPath, "Include"); PublicIncludePaths.Add(VivoxIncludePath); if (Target.Platform == UnrealTargetPlatform.Win64) { PublicAdditionalLibraries.Add(VivoxLibPath + "vivoxsdk_x64.lib"); PublicDelayLoadDLLs.Add("ortp_x64.dll"); PublicDelayLoadDLLs.Add("vivoxsdk_x64.dll"); RuntimeDependencies.Add(Path.Combine("$(TargetOutputDir)", "ortp_x64.dll"), Path.Combine(VivoxLibPath, "ortp_x64.dll")); RuntimeDependencies.Add(Path.Combine("$(TargetOutputDir)", "vivoxsdk_x64.dll"), Path.Combine(VivoxLibPath, "vivoxsdk_x64.dll")); } else if (Target.Platform == UnrealTargetPlatform.Win32) { PublicAdditionalLibraries.Add(VivoxLibPath + "vivoxsdk.lib"); PublicDelayLoadDLLs.Add("ortp.dll"); PublicDelayLoadDLLs.Add("vivoxsdk.dll"); RuntimeDependencies.Add(Path.Combine("$(TargetOutputDir)", "ortp.dll"), Path.Combine(VivoxLibPath, "ortp.dll")); RuntimeDependencies.Add(Path.Combine("$(TargetOutputDir)", "vivoxsdk.dll"), Path.Combine(VivoxLibPath, "vivoxsdk.dll")); } else if (Target.Platform == UnrealTargetPlatform.XboxOne) { PublicAdditionalLibraries.Add(VivoxLibPath + "vivoxsdk.lib"); } else if (Target.Platform == UnrealTargetPlatform.PS4) { PublicAdditionalLibraries.Add(VivoxLibPath + "libvivoxsdk.a"); PublicSystemLibraries.Add("SceSha1"); PublicSystemLibraries.Add("SceAudioIn_stub_weak"); PublicSystemLibraries.Add("SceHmac"); } else if (Target.Platform == UnrealTargetPlatform.Mac) { string TargetDir = Path.Combine(Target.UEThirdPartyBinariesDirectory, "Vivox", "Mac"); PublicDelayLoadDLLs.Add(Path.Combine(TargetDir, "libortp.dylib")); PublicDelayLoadDLLs.Add(Path.Combine(TargetDir, "libvivoxsdk.dylib")); RuntimeDependencies.Add(Path.Combine(TargetDir, "libortp.dylib")); RuntimeDependencies.Add(Path.Combine(TargetDir, "libvivoxsdk.dylib")); } else if (Target.Platform == UnrealTargetPlatform.IOS) { PublicAdditionalLibraries.Add(VivoxLibPath + "libvivoxsdk.a"); PublicFrameworks.Add("CFNetwork"); } else if (Target.Platform == UnrealTargetPlatform.Android) { PublicAdditionalLibraries.Add(Path.Combine(VivoxLibPath, "armeabi-v7a", "libvivox-sdk.so")); PublicAdditionalLibraries.Add(Path.Combine(VivoxLibPath, "arm64-v8a", "libvivox-sdk.so")); string PluginPath = Utils.MakePathRelativeTo(VivoxSDKPath, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "VivoxCoreSDK_UPL.xml")); } }
public IOSAudio(ReadOnlyTargetRules Target) : base(Target) { BinariesSubFolder = "IOS"; PrivateIncludePathModuleNames.Add("TargetPlatform"); PublicIncludePaths.AddRange(new string[] { }); PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "AudioMixer" }); PublicFrameworks.AddRange(new string[] { "AudioToolbox", "CoreAudio", "AVFoundation" }); }
public UnrealAudioCoreAudio(TargetInfo Target) { PrivateIncludePaths.AddRange( new string[] { "Runtime/UnrealAudio/Private" } ); PrivateIncludePathModuleNames.Add("TargetPlatform"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", } ); PublicFrameworks.AddRange( new string[] { "CoreAudio", "AudioToolbox", "AudioUnit" } ); }
public IOSApsalar(TargetInfo Target) { PublicDependencyModuleNames.AddRange( new string[] { "Core", // ... add other public dependencies that you statically link with here ... } ); PrivateDependencyModuleNames.AddRange( new string[] { "Analytics", // ... add private dependencies that you statically link with here ... } ); PublicIncludePathModuleNames.Add("Analytics"); PublicFrameworks.AddRange( new string[] { "CoreTelephony", "SystemConfiguration", "UIKit", "Foundation", "CoreGraphics", "MobileCoreServices", "StoreKit", "CFNetwork", "CoreData", "Security", "CoreLocation" }); PublicAdditionalLibraries.AddRange( new string[] { "sqlite3", "z" }); bool bHasApsalarSDK = (System.IO.Directory.Exists(System.IO.Path.Combine(UEBuildConfiguration.UEThirdPartySourceDirectory, "Apsalar")) && System.IO.Directory.Exists(System.IO.Path.Combine(UEBuildConfiguration.UEThirdPartySourceDirectory, "Apsalar", "IOS"))) || (System.IO.Directory.Exists(System.IO.Path.Combine(UEBuildConfiguration.UEThirdPartySourceDirectory, "NotForLicensees")) && System.IO.Directory.Exists(System.IO.Path.Combine(UEBuildConfiguration.UEThirdPartySourceDirectory, "NotForLicensees", "Apsalar")) && System.IO.Directory.Exists(System.IO.Path.Combine(UEBuildConfiguration.UEThirdPartySourceDirectory, "NotForLicensees", "Apsalar", "IOS"))); if (bHasApsalarSDK) { PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "NotForLicensees/Apsalar/IOS/"); PublicAdditionalLibraries.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "NotForLicensees/Apsalar/IOS/libApsalar.a"); Definitions.Add("WITH_APSALAR=1"); } else { Definitions.Add("WITH_APSALAR=0"); } }
public CoreAudio(TargetInfo Target) { PrivateIncludePathModuleNames.Add("TargetPlatform"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", } ); AddEngineThirdPartyPrivateStaticDependencies(Target, "UEOgg", "Vorbis", "VorbisFile" ); PublicFrameworks.AddRange(new string[] { "CoreAudio", "AudioUnit", "AudioToolbox" }); AdditionalBundleResources.Add(new UEBuildBundleResource("../Build/Mac/RadioEffectUnit/RadioEffectUnit.component")); // Add contents of component directory as runtime dependencies foreach (string FilePath in Directory.EnumerateFiles("../Build/Mac/RadioEffectUnit/RadioEffectUnit.component", "*", SearchOption.AllDirectories)) { RuntimeDependencies.Add(new RuntimeDependency(FilePath)); } }
public IOSAudio(TargetInfo Target) { BinariesSubFolder = "IOS"; PrivateIncludePathModuleNames.Add("TargetPlatform"); PublicIncludePaths.AddRange(new string[] { "Runtime/Audio/IOSAudio/Public", }); PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", }); PublicFrameworks.AddRange(new string[] { "AudioToolbox", "CoreAudio", "AVFoundation" }); }
public MetalRHI(ReadOnlyTargetRules Target) : base(Target) { PrivateDependencyModuleNames.AddRange( new string[] { "Core", "ApplicationCore", "Engine", "RHI", "RenderCore", "ShaderCore", "UtilityShaders" } ); AddEngineThirdPartyPrivateStaticDependencies(Target, "MTLPP" ); PublicWeakFrameworks.Add("Metal"); if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.Add("QuartzCore"); } var StatsModule = "../Plugins/NotForLicensees/MetalStatistics/MetalStatistics.uplugin"; bool bMetalStats = System.IO.File.Exists(StatsModule); if (bMetalStats && Target.Configuration != UnrealTargetConfiguration.Shipping) { PublicDefinitions.Add("METAL_STATISTICS=1"); WhitelistRestrictedFolders.Add("Public/NotForLicensees"); } }
public UnrealAudioCoreAudio(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange( new string[] { "Runtime/UnrealAudio/Private" } ); PrivateIncludePathModuleNames.Add("TargetPlatform"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", } ); PublicFrameworks.AddRange( new string[] { "CoreAudio", "AudioUnit", "AudioToolbox" } ); PrecompileForTargets = PrecompileTargetsType.None; }
public Facebook(TargetInfo Target) { Type = ModuleType.External; Definitions.Add("WITH_FACEBOOK=1"); string FacebookPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "Facebook/"; if (Target.Platform == UnrealTargetPlatform.IOS) { string FacebookVersion = "3.16"; if (FacebookVersion == "3.16") { Definitions.Add("FACEBOOK_VER_3_16=1"); } FacebookPath += ("Facebook-IOS-" + FacebookVersion + "/"); PublicIncludePaths.Add(FacebookPath + "Include"); string LibDir = FacebookPath + "Lib/Release" + Target.Architecture; PublicLibraryPaths.Add(LibDir); PublicAdditionalLibraries.Add("Facebook-IOS-" + FacebookVersion); PublicAdditionalShadowFiles.Add(LibDir + "/libFacebook-IOS-" + FacebookVersion + ".a"); AddThirdPartyPrivateStaticDependencies(Target, "Bolts"); // Needed for the facebook sdk to link. PublicFrameworks.Add("CoreGraphics"); } }
public AppleARKit(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange( new string[] { "../../../../../../Source/Runtime/Renderer/Private", // ... add other private include paths required here ... } ); PublicDependencyModuleNames.AddRange( new string[] { "Core", "Engine", // ... add other public dependencies that you statically link with here ... } ); PrivateDependencyModuleNames.AddRange( new string[] { "CoreUObject", "Slate", "SlateCore", "RHI", "Renderer", "RenderCore", "HeadMountedDisplay", "AugmentedReality", "AppleImageUtils", "MRMesh" // ... add private dependencies that you statically link with here ... } ); DynamicallyLoadedModuleNames.AddRange( new string[] { // ... add any modules that your module loads dynamically here ... } ); if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateDependencyModuleNames.Add("IOSRuntimeSettings"); PublicFrameworks.Add("ARKit"); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("IOSPlugin", Path.Combine(PluginPath, "AppleARKit_IOS_UPL.xml")); } PublicDefinitions.Add("MATERIAL_CAMERAIMAGE_CONVERSION=1"); }
public AppleARKit(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange(new string[] { "../../../../../../Source/Runtime/Renderer/Private", }); PublicDependencyModuleNames.AddRange(new string[] { "Core", "Engine", "MRMesh", "EyeTracker", }); PrivateDependencyModuleNames.AddRange(new string[] { "CoreUObject", "Slate", "SlateCore", "RHI", "Renderer", "RenderCore", "HeadMountedDisplay", "AugmentedReality", "AppleImageUtils", "Projects", "ARUtilities", }); DynamicallyLoadedModuleNames.AddRange(new string[] { }); if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateDependencyModuleNames.Add("IOSRuntimeSettings"); PublicFrameworks.AddRange(new string[] { "ARKit", "MetalPerformanceShaders", "CoreLocation", }); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("IOSPlugin", Path.Combine(PluginPath, "AppleARKit_IOS_UPL.xml")); } else if (Target.Platform == UnrealTargetPlatform.Mac) { PublicFrameworks.Add("MetalPerformanceShaders"); } }
public CYZFox(TargetInfo Target) { PublicIncludePaths.AddRange( new string[] { "CYZFox/Public" } ); PrivateIncludePaths.AddRange( new string[] { "CYZFox/Private", "CYZFox/Private/Android", "CYZFox/Private/IOS", } ); PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", "Json", } ); if (Target.Platform == UnrealTargetPlatform.Android) { PrivateDependencyModuleNames.Add("Launch"); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, BuildConfiguration.RelativeEnginePath); AdditionalPropertiesForReceipt.Add( new ReceiptProperty("AndroidPlugin", Path.Combine(PluginPath, "CYZFox_APL.xml")) ); } else if (Target.Platform == UnrealTargetPlatform.IOS) { // Add the TapJoy framework PublicAdditionalFrameworks.Add( new UEBuildFramework( "CYZFox", // Framework name "../../ThirdPartyLibraries/IOS/CYZFox.embeddedframework.zip" // Zip name ) ); PublicFrameworks.AddRange(new string[] { // "UIKit", "Foundation", "Security", "StoreKit", "AdSupport", "WebKit", "SystemConfiguration" }); } }
void ThirdParty(ReadOnlyTargetRules Target) { //Add header string HeaderPath = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", "..", "ThirdParty", "Include")); PublicIncludePaths.AddRange(new string[] { Path.Combine(HeaderPath, "websocketpp") }); PublicIncludePaths.AddRange(new string[] { Path.Combine(HeaderPath, "asio") }); PublicIncludePaths.AddRange(new string[] { Path.Combine(ModuleDirectory, "..", "..", "ThirdParty", "v8", "Inc") }); string LibraryPath = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", "..", "ThirdParty", "v8", "Lib")); if (Target.Platform == UnrealTargetPlatform.Win64) { if (!Target.bBuildEditor) { string V8LibraryPath = Path.Combine(LibraryPath, "Win64MD"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "wee8.lib")); } else { WinDll(LibraryPath); } } else if (Target.Platform == UnrealTargetPlatform.Android) { string V8LibraryPath = Path.Combine(LibraryPath, "Android", "armeabi-v7a"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "libwee8.a")); V8LibraryPath = Path.Combine(LibraryPath, "Android", "arm64-v8a"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "libwee8.a")); } else if (Target.Platform == UnrealTargetPlatform.Mac) { //PublicFrameworks.AddRange(new string[] { "WebKit", "JavaScriptCore" }); //PublicFrameworks.AddRange(new string[] { "WebKit" }); if (!Target.bBuildEditor) { string V8LibraryPath = Path.Combine(LibraryPath, "macOS"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "libwee8.a")); } else { MacDylib(LibraryPath); } } else if (Target.Platform == UnrealTargetPlatform.IOS) { PublicFrameworks.AddRange(new string[] { "WebKit" }); string V8LibraryPath = Path.Combine(LibraryPath, "iOS", "arm64"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "libwee8.a")); } else if (Target.Platform == UnrealTargetPlatform.Linux) { string V8LibraryPath = Path.Combine(LibraryPath, "Linux"); PublicAdditionalLibraries.Add(Path.Combine(V8LibraryPath, "libwee8.a")); } }
public IOSFlurry(ReadOnlyTargetRules Target) : base(Target) { BinariesSubFolder = "NotForLicensees"; PublicDependencyModuleNames.AddRange( new string[] { "Core", // ... add other public dependencies that you statically link with here ... } ); PrivateDependencyModuleNames.AddRange( new string[] { "Analytics", // ... add private dependencies that you statically link with here ... } ); PublicIncludePathModuleNames.Add("Analytics"); PublicFrameworks.AddRange( new string[] { "CoreTelephony", "SystemConfiguration", "UIKit", "Foundation", "CoreGraphics", "MobileCoreServices", "StoreKit", "CFNetwork", "CoreData", "Security", "CoreLocation" }); bool bHasFlurrySDK = (System.IO.Directory.Exists(System.IO.Path.Combine(Target.UEThirdPartySourceDirectory, "Flurry")) && System.IO.Directory.Exists(System.IO.Path.Combine(Target.UEThirdPartySourceDirectory, "Flurry", "IOS"))) || (System.IO.Directory.Exists(System.IO.Path.Combine(Target.UEThirdPartySourceDirectory, "NotForLicensees")) && System.IO.Directory.Exists(System.IO.Path.Combine(Target.UEThirdPartySourceDirectory, "NotForLicensees", "Flurry")) && System.IO.Directory.Exists(System.IO.Path.Combine(Target.UEThirdPartySourceDirectory, "NotForLicensees", "Flurry", "IOS"))); if (bHasFlurrySDK) { PublicIncludePaths.Add(Target.UEThirdPartySourceDirectory + "NotForLicensees/Flurry/IOS/"); PublicAdditionalLibraries.Add(Target.UEThirdPartySourceDirectory + "NotForLicensees/Flurry/IOS/libFlurry_6.7.0.a"); PublicDefinitions.Add("WITH_FLURRY=1"); } else { PublicDefinitions.Add("WITH_FLURRY=0"); } }