public Hotfix(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;

        PrivateDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "CoreUObject",
            "Engine",
            "HTTP",
            "OnlineSubsystem",
            "OnlineSubsystemUtils"
        }
            );

        bool bHasOnlineTracing = Directory.Exists(Path.Combine(EngineDirectory, "Plugins", "Online", "NotForLicensees", "OnlineTracing"));

        if (bHasOnlineTracing)
        {
            PublicDefinitions.Add("WITH_ONLINETRACING=1");
            PrivateDependencyModuleNames.Add("OnlineTracing");
        }
    }
Example #2
0
    public MacClientTargetPlatform(ReadOnlyTargetRules Target) : base(Target)
    {
        PrivateDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "TargetPlatform",
            "DesktopPlatform",
        }
            );

        if (UEBuildConfiguration.bCompileAgainstEngine)
        {
            PrivateDependencyModuleNames.Add("CoreUObject");             // @todo Mac: for some reason it's needed to link in debug on Mac
            PrivateDependencyModuleNames.Add("Engine");
            PrivateIncludePathModuleNames.Add("TextureCompressor");
        }

        PrivateIncludePaths.AddRange(
            new string[] {
            "Developer/Mac/MacTargetPlatform/Private"
        }
            );
    }
Example #3
0
    public Automatron(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage     = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
        bEnforceIWYU = true;
        bLegacyPublicIncludePaths = false;

        PublicDependencyModuleNames.AddRange(new string[]
        {
            "Core",
            "CoreUObject",
            "Engine",
            "FunctionalTesting"
        });

        PrivateDependencyModuleNames.AddRange(new string[]
        {
        });

        if (Target.bBuildEditor)
        {
            PrivateDependencyModuleNames.Add("UnrealEd");
        }
    }
Example #4
0
    public UE4Game(ReadOnlyTargetRules Target) : base(Target)
    {
        PrivateDependencyModuleNames.Add("Core");

        //DynamicallyLoadedModuleNames.Add("OnlineSubsystemNull");

        if (Target.Platform == UnrealTargetPlatform.IOS || Target.Platform == UnrealTargetPlatform.TVOS)
        {
            PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine" });            //, "OnlineSubsystem", "OnlineSubsystemUtils" });
            //DynamicallyLoadedModuleNames.Add("OnlineSubsystemIOS");
            if (Target.Platform == UnrealTargetPlatform.IOS)
            {
                //DynamicallyLoadedModuleNames.Add("OnlineSubsystemFacebook");
                DynamicallyLoadedModuleNames.Add("IOSAdvertising");
            }
        }
        else if (Target.Platform == UnrealTargetPlatform.Android)
        {
            PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine" });            //, "OnlineSubsystem", "OnlineSubsystemUtils" });
            DynamicallyLoadedModuleNames.Add("AndroidAdvertising");
            //DynamicallyLoadedModuleNames.Add("OnlineSubsystemGooglePlay");
        }
    }
        public RealTimeStrategy(ReadOnlyTargetRules Target)
            : base(Target)
        {
            PCHUsage     = PCHUsageMode.UseExplicitOrSharedPCHs;
            bEnforceIWYU = true;

            PrivateIncludePaths.AddRange(
                new string[]
            {
                "RealTimeStrategy/Private"
            });

            PublicDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
                "InputCore",
                "AIModule",
                "UMG",
                "Slate",
                "SlateCore",
                "RHI",
                "RenderCore",
                "Landscape",
                "GameplayTags",
                "NavigationSystem"
            });

            // Setup Gameplay Debugger.
            if (Target.bBuildDeveloperTools || (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Configuration != UnrealTargetConfiguration.Test))
            {
                PrivateDependencyModuleNames.Add("GameplayDebugger");
                PublicDefinitions.Add("WITH_GAMEPLAY_DEBUGGER=1");
            }
        }
        public AutomationWorker(TargetInfo Target)
        {
            PublicDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
            }
                );

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "AutomationMessages",
                "CoreUObject",
            }
                );

            PrivateIncludePathModuleNames.AddRange(
                new string[]
            {
                "Messaging",
            }
                );

            PrivateIncludePaths.AddRange(
                new string[]
            {
                "Runtime/AutomationWorker/Private",
            }
                );

            if (UEBuildConfiguration.bCompileAgainstEngine)
            {
                PrivateDependencyModuleNames.Add("Engine");
                PrivateDependencyModuleNames.Add("RHI");
            }
        }
Example #7
0
        public ACLPlugin(ReadOnlyTargetRules Target) : base(Target)
        {
            string ACLSDKDir = Path.GetFullPath(Path.Combine(ModuleDirectory, "../ThirdParty"));

            PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "Public"));
            PublicIncludePaths.Add(Path.Combine(ACLSDKDir, "acl/includes"));
            PublicIncludePaths.Add(Path.Combine(ACLSDKDir, "acl/external/rtm/includes"));

            PrivateIncludePaths.Add("ACLPlugin/Private");

            PublicDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
            }
                );

            if (Target.bBuildEditor)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");

                PublicIncludePaths.Add(Path.Combine(ACLSDKDir, "acl/external/sjson-cpp/includes"));
            }

            if (Target.Platform == UnrealTargetPlatform.Linux)
            {
                // There appears to be a bug when cross-compiling Linux under Windows where the clang tool-chain used
                // isn't fully C++11 compliant. The standard specifies that when the 'cinttypes' header is included
                // the format macros are always defined unlike C which requires the following macro to be defined first.
                // This fix should be required for UE 4.20 and earlier versions.
                PrivateDefinitions.Add("__STDC_FORMAT_MACROS");
            }
        }
Example #8
0
    public Android_ETC1TargetPlatform(ReadOnlyTargetRules Target) : base(Target)
    {
        BinariesSubFolder = "Android";

        PublicIncludePaths.AddRange(
            new string[]
        {
            "Runtime/Core/Public/Android"
        }
            );

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
            "TargetPlatform",
            "DesktopPlatform",
            "AndroidDeviceDetection",
        }
            );

        PrivateIncludePaths.AddRange(
            new string[]
        {
            "Developer/Android/AndroidTargetPlatform/Private",
        }
            );

        Definitions.Add("WITH_OGGVORBIS=1");

        // compile with Engine
        if (UEBuildConfiguration.bCompileAgainstEngine)
        {
            PrivateDependencyModuleNames.Add("Engine");
            PrivateIncludePathModuleNames.Add("TextureCompressor");                     //@todo android: AndroidTargetPlatform.Build
        }
    }
        public OculusLibrary(TargetInfo Target)
        {
            PrivateIncludePaths.AddRange(
                new string[] {
                "OculusLibrary/Private",
                "../../../../Source/Runtime/Renderer/Private",
                "../../../../Source/ThirdParty/Oculus/Common",
                "../../OculusRift/Source/OculusRift/Private",
                // ... add other private include paths required here ...
            }
                );

            PublicIncludePathModuleNames.Add("OculusRift");

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
                "InputCore",
                "RHI",
                "RenderCore",
                "Renderer",
                "ShaderCore",
                "HeadMountedDisplay",
                "Slate",
                "SlateCore",
                "UtilityShaders",
            }
                );

            if (UEBuildConfiguration.bBuildEditor == true)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");
            }
        }
    public ImageWrapper(TargetInfo Target)
    {
        PrivateIncludePaths.Add("Runtime/ImageWrapper/Private");

        Definitions.Add("WITH_UNREALPNG=1");
        Definitions.Add("WITH_UNREALJPEG=1");

        PrivateDependencyModuleNames.Add("Core");

        AddEngineThirdPartyPrivateStaticDependencies(Target,
                                                     "zlib",
                                                     "UElibPNG",
                                                     "UElibJPG"
                                                     );

        // Add openEXR lib for windows builds.
        if (Target.Platform == UnrealTargetPlatform.Win64 ||
            Target.Platform == UnrealTargetPlatform.Win32 ||
            Target.Platform == UnrealTargetPlatform.Mac)
        {
            Definitions.Add("WITH_UNREALEXR=1");
            AddEngineThirdPartyPrivateStaticDependencies(Target, "UEOpenExr");
        }
        else
        {
            Definitions.Add("WITH_UNREALEXR=0");
        }

        bEnableShadowVariableWarnings = false;

        // Enable exceptions to allow error handling
        bEnableExceptions = true;

        // Disable shared PCHs to handle warning C4652
        PCHUsage             = ModuleRules.PCHUsageMode.NoSharedPCHs;
        PrivatePCHHeaderFile = "Private/ImageWrapperPrivatePCH.h";
    }
Example #11
0
    public AndroidTargetPlatform(TargetInfo Target)
    {
        BinariesSubFolder = "Android";

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
            "CoreUObject",
            "TargetPlatform",
            "DesktopPlatform",
            "AndroidDeviceDetection",
        }
            );

        PublicIncludePaths.AddRange(
            new string[]
        {
            "Runtime/Core/Public/Android"
        }
            );

        if (UEBuildConfiguration.bCompileAgainstEngine)
        {
            PrivateDependencyModuleNames.Add("Engine");
            PrivateIncludePathModuleNames.Add("TextureCompressor");                     //@todo android: AndroidTargetPlatform.Build
        }

        Definitions.Add("WITH_OGGVORBIS=1");

        PrivateIncludePaths.AddRange(
            new string[]
        {
            "Developer/AndroidTargetPlatform/Classes"
        }
            );
    }
    public PicpProjection(ReadOnlyTargetRules ROTargetRules) : base(ROTargetRules)
    {
        PrivateIncludePaths.AddRange(
            new string[]
        {
            "PicpProjection/Private",
            "DisplayClusterProjection/Private",
        }
            );

        PublicDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
            "CoreUObject",
            "Engine",
        });

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "ApplicationCore",
            "Composure",
            "CinematicCamera",
            "DisplayCluster",
            "MPCDI",
            "PicpMPCDI",
            "RenderCore",
            "RHI",
        }
            );

        if (Target.bBuildEditor == true)
        {
            PrivateDependencyModuleNames.Add("UnrealEd");
        }
    }
Example #13
0
        public SteamVR(TargetInfo Target)
        {
            PrivateIncludePaths.AddRange(
                new string[] {
                "SteamVR/Private",
                "../../../../../Source/Runtime/Renderer/Private",
                // ... add other private include paths required here ...
            }
                );

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
                "RHI",
                "RenderCore",
                "Renderer",
                "ShaderCore",
                "HeadMountedDisplay",
                "Slate",
                "SlateCore"
            }
                );

            if (UEBuildConfiguration.bBuildEditor == true)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");
            }

            if (Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Win64)
            {
                AddThirdPartyPrivateStaticDependencies(Target, "OpenVR");
                PrivateDependencyModuleNames.AddRange(new string[] { "D3D11RHI" });     //@todo steamvr: multiplatform
            }
        }
Example #14
0
    public MagicBattleSoccer(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

        PrivateIncludePaths.AddRange(
            new string[] {
            "MagicBattleSoccer/Classes/Bots"
            , "MagicBattleSoccer/Classes/Online"
            , "MagicBattleSoccer/Classes/Player"
            , "MagicBattleSoccer/Classes/Soccer"
            , "MagicBattleSoccer/Classes/Weapons"
            , "MagicBattleSoccer/Classes/UI"
            , "MagicBattleSoccer/Classes/Traps"
            , "MagicBattleSoccer/Private/UI/Menu"
            , "MagicBattleSoccer/Private/UI/Style"
            , "MagicBattleSoccer/Private/UI/Widgets"
        }
            );

        PublicDependencyModuleNames.AddRange(new string[] {
            "Core",
            "CoreUObject",
            "Engine",
            "OnlineSubsystem",
            "OnlineSubsystemUtils",
            "InputCore",
            "AIModule"
        });

        // 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
    }
        public NonRealtimeAudioRenderer(ReadOnlyTargetRules Target) : base(Target)
        {
            PrivateIncludePathModuleNames.Add("TargetPlatform");

            PrivateIncludePaths.AddRange(
                new string[]
            {
                "Runtime/AudioMixer/Private",
            }
                );

            PublicIncludePaths.Add("Runtime/AudioMixer/Public");

            PrivateDependencyModuleNames.AddRange(
                new string[] {
                "Core",
                "CoreUObject",
                "Engine",
                "AudioMixerCore",
                "SignalProcessing",
                "AudioMixer",
            }
                );

            AddEngineThirdPartyPrivateStaticDependencies(Target,
                                                         "UEOgg",
                                                         "Vorbis",
                                                         "VorbisFile",
                                                         "libOpus",
                                                         "UELibSampleRate"
                                                         );

            if (Target.Platform == UnrealTargetPlatform.XboxOne)
            {
                PrivateDependencyModuleNames.Add("XMA2");
            }
        }
Example #16
0
    public UnrealProject(TargetInfo Target)
    {
        PrivateIncludePaths.AddRange(new string[] { "UnrealProject/Private" });
        PublicDependencyModuleNames.AddRange(new string[]
        {
            "Core",
            "CoreUObject",
            "Engine",
            "InputCore",
            "RHI",
            "PixelShader"
        });

        PrivateDependencyModuleNames.AddRange(new string[] {  });
        DynamicallyLoadedModuleNames.AddRange(new string[] {  });
        PrivateIncludePathModuleNames.AddRange(new string[] {  });

        if (UEBuildConfiguration.bBuildEditor == true)
        {
            PrivateDependencyModuleNames.Add("UnrealEd");
        }



        // 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");
        //		}
        // }
    }
Example #17
0
    public TVOSTargetPlatform(TargetInfo Target)
    {
        BinariesSubFolder = "IOS";

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
            "CoreUObject",
            "TargetPlatform",
            "DesktopPlatform",
            "LaunchDaemonMessages",
            "IOSTargetPlatform",
            "Projects"
        }
            );

        PrivateIncludePathModuleNames.AddRange(
            new string[] {
            "Messaging",
            "TargetDeviceServices",
        }
            );

        PlatformSpecificDynamicallyLoadedModuleNames.Add("LaunchDaemonMessages");

        if (UEBuildConfiguration.bCompileAgainstEngine)
        {
            PrivateDependencyModuleNames.Add("Engine");
        }

        PrivateIncludePaths.AddRange(
            new string[] {
            "Developer/IOS/IOSTargetPlatform/Private"
        }
            );
    }
    public AndroidDeviceDetection(ReadOnlyTargetRules Target) : base(Target)
    {
        BinariesSubFolder = "Android";

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
        }
            );

        PrivateIncludePathModuleNames.AddRange(
            new string[]
        {
            "TcpMessaging",
        }
            );

        PublicIncludePaths.AddRange(
            new string[]
        {
            "Runtime/Core/Public/Android"
        }
            );

        if (Target.bCompileAgainstEngine)
        {
            PrivateDependencyModuleNames.Add("Engine");
        }

        DynamicallyLoadedModuleNames.AddRange(
            new string[]
        {
            "TcpMessaging"
        }
            );
    }
        public MediaIOCore(ReadOnlyTargetRules Target) : base(Target)
        {
            PublicDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
                "ImageWriteQueue",
                "Media",
                "MediaAssets",
                "MediaUtils",
                "MovieSceneCapture",
                "Projects",
                "RenderCore",
                "RHI",
                "Slate",
                "SlateCore",
                "TimeManagement"
            });

            PrivateIncludePaths.AddRange(
                new string[] {
            });

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "RenderCore"
            });

            if (Target.bBuildEditor == true)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");
                PrivateDependencyModuleNames.Add("LevelEditor");
            }
        }
    public AtelierEditor(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

        PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "JsonUtilities", "Json", "NavigationSystem", "AIModule" });
        PublicDependencyModuleNames.AddRange(new string[] { "Atelier" });
        PublicDependencyModuleNames.AddRange(new string[] { "GraphEditor", "AnimGraph", "AnimationCore", "AnimGraphRuntime", "BlueprintGraph", "Navmesh", "UMGEditor", "PropertyEditor" });

        PrivateDependencyModuleNames.AddRange(new string[] { "UnrealEd" });
        PrivateDependencyModuleNames.AddRange(new string[]
        {
            "Slate",
            "SlateCore",
            "EditorStyle",
            "AnimGraph",
            "Paper2D",
            "UMG",
            "slua_unreal",
            "AkAudio",
            "Persona",
            "ApplicationCore",

            /* Skill Editor */
            "ActionSkillEditor",
            "StageEditor",
            "slua_unreal",
        });

        PublicIncludePaths.AddRange(new string[] { "AtelierEditor/Public" });
        PrivateIncludePaths.AddRange(new string[] { "AtelierEditor/Private" });

        if (Target.bCompileRecast)
        {
            PrivateDependencyModuleNames.Add("Navmesh");
            PublicDefinitions.Add("WITH_RECAST=1");
        }
    }
    public LidarRays(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

        PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UnrealUDP", "Slate", "SlateCore", "PhysXVehicles", "HeadMountedDisplay" });

        PrivateDependencyModuleNames.Add("UnrealUDP");

        // Sensor components
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Sensors/Public"));

        // Sensor messages
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Sensors/Messages/Public"));

        // Utility
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Utility/Public"));

        // Vehicle
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Vehicle"));
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Vehicle/Models"));

        //// Simulink communication
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "../ThirdParty/simulink_interface/include"));

        // Cereal to serialize sensor data
        PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "../ThirdParty/cereal/include"));

        //// Disable some warnings
        bEnableUndefinedIdentifierWarnings = false;

        PublicDefinitions.Add("HMD_MODULE_INCLUDED=1");

        bEnableExceptions = true;

        // Needed for dynamic casting
        bUseRTTI = true;
    }
Example #22
0
        public MagicLeapARPin(ReadOnlyTargetRules Target) : base(Target)
        {
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "Public"));
            PublicDependencyModuleNames.AddRange(
                new string[]
            {
                "Core",
                "CoreUObject",
                "Engine"
            }
                );

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "HeadMountedDisplay",
            }
                );

            if (Target.bBuildEditor == true)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");
            }
        }
Example #23
0
    public SeaCraft(TargetInfo Target)
    {
        PublicDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "CoreUObject",
            "Engine",
            "InputCore",
            "OnlineSubsystem",
            "OnlineSubsystemUtils"
        });

        // Uncomment if you are using Slate UI
        // PrivateDependencyModuleNames.Add("Slate");

        PrivateDependencyModuleNames.Add("OnlineSubsystem");
        if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
        {
            if (UEBuildConfiguration.bCompileSteamOSS == true)
            {
                DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
            }
        }
    }
Example #24
0
    public XAudio2(ReadOnlyTargetRules Target) : base(Target)
    {
        PrivateIncludePathModuleNames.Add("TargetPlatform");

        PrivateDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "CoreUObject",
            "Engine",
        }
            );

        if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Win32)
        {
            // VS2015 updated some of the CRT definitions but not all of the Windows SDK has been updated to match.
            // Microsoft provides this shim library to enable building with VS2015 until they fix everything up.
            //@todo: remove when no longer neeeded (no other code changes should be necessary).
            if (WindowsPlatform.bNeedsLegacyStdioDefinitionsLib)
            {
                PublicAdditionalLibraries.Add("legacy_stdio_definitions.lib");
            }
        }
        else if (Target.Platform == UnrealTargetPlatform.XboxOne)
        {
            PrivateDependencyModuleNames.Add("XMA2");
        }

        AddEngineThirdPartyPrivateStaticDependencies(Target,
                                                     "DX11Audio",
                                                     "UEOgg",
                                                     "Vorbis",
                                                     "VorbisFile"
                                                     );

        Definitions.Add("WITH_OGGVORBIS=1");
    }
Example #25
0
        public AjaMediaOutput(ReadOnlyTargetRules Target) : base(Target)
        {
            PublicDependencyModuleNames.AddRange(
                new string[] {
                "AjaMedia",
                "MediaIOCore",
            });

            PrivateIncludePaths.AddRange(
                new string[]
            {
                "AjaMediaOutput/Private",
            }
                );

            PrivateDependencyModuleNames.AddRange(
                new string[]
            {
                "AJA",
                "Core",
                "CoreUObject",
                "Engine",
                "MovieSceneCapture",
                "RenderCore",
                "RHI",
                "Slate",
                "SlateCore",
                "TimeManagement",
            }
                );

            if (Target.bBuildEditor == true)
            {
                PrivateDependencyModuleNames.Add("UnrealEd");
            }
        }
Example #26
0
    public DatasmithWireTranslator(ReadOnlyTargetRules Target) : base(Target)
    {
        PublicDependencyModuleNames.AddRange(
            new string[]
        {
            "Core",
            "CoreUObject",
        }
            );

        PrivateDependencyModuleNames.AddRange(
            new string[]
        {
            "CADInterfaces",
            "CADLibrary",
            "CADTools",
            "DatasmithContent",
            "DatasmithCore",
            "DatasmithCoreTechExtension",
            "DatasmithImporter",
            "Engine",
            "MeshDescription",
            "StaticMeshDescription",
        }
            );

        if (System.Type.GetType("OpenModel") != null)
        {
            PrivateDependencyModuleNames.Add("OpenModel");
        }

        if (System.Type.GetType("CoreTech") != null)
        {
            PrivateDependencyModuleNames.Add("CoreTech");
        }
    }
Example #27
0
    public ImageWrapper(TargetInfo Target)
    {
        PrivateIncludePaths.Add("Developer/ImageWrapper/Private");

        Definitions.Add("WITH_UNREALPNG=1");
        Definitions.Add("WITH_UNREALJPEG=1");

        PrivateDependencyModuleNames.Add("Core");

        AddThirdPartyPrivateStaticDependencies(Target,
                                               "zlib",
                                               "UElibPNG",
                                               "UElibJPG"
                                               );

        // Add openEXR lib for windows builds.
        if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Mac)
        {
            Definitions.Add("WITH_UNREALEXR=1");
            AddThirdPartyPrivateStaticDependencies(Target, "UEOpenEXR");
        }

        bEnableShadowVariableWarnings = false;
    }
	public NetworkFile(ReadOnlyTargetRules Target) : base(Target)
	{
		PrivateIncludePathModuleNames.Add("DerivedDataCache");

		PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Sockets" });
        PublicIncludePaths.Add("Runtime/CoreUObject/Public/Interfaces");
		PublicIncludePaths.Add("Runtime/CoreUObject/Public/UObject");
		PublicIncludePaths.Add("Runtime/CoreUObject/Public");

		if (!UEBuildConfiguration.bBuildRequiresCookedData)
		{
			DynamicallyLoadedModuleNames.AddRange(
				new string[]
				{ 
					"DerivedDataCache",
				}
				);
		}

		if (Target.Platform == UnrealTargetPlatform.HTML5)
        { 
			Definitions.Add("ENABLE_HTTP_FOR_NF=1");
			if (Target.Architecture == "-win32")
			{
				PrivateDependencyModuleNames.Add("HTML5Win32");
			}
			else
			{
				PrivateDependencyModuleNames.Add("HTML5JS");
			}
		}
		else
		{
			Definitions.Add("ENABLE_HTTP_FOR_NF=0");
		}
	}
Example #29
0
    public BlueprintProfiler(TargetInfo Target)
    {
        PrivateIncludePaths.Add("Private");

        PrivateDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "CoreUObject",
            "Engine",
            "EngineSettings",
        }
            );

        if (UEBuildConfiguration.bBuildEditor == true)
        {
            PrivateDependencyModuleNames.Add("UnrealEd");
        }

        if (UnrealBuildTool.BuildHostPlatform.Current.Platform == UnrealTargetPlatform.Linux)
        {
            // work around for bad naming of "classes" directory, proper resolution is tracked as UE-23934
            bFasterWithoutUnity = true;
        }
    }
    public AnimationSharing(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;

        PrivateDependencyModuleNames.AddRange(
            new string[] {
            "Core",
            "CoreUObject",
            "Engine",
            "EngineSettings",
            "SignificanceManager"
        }
            );

        if (Target.Type == TargetType.Editor)
        {
            PrivateDependencyModuleNames.Add("TargetPlatform");
        }

        PrivateIncludePaths.AddRange(
            new string[] {
            "AnimationSharing/Private"
        });
    }