Beispiel #1
0
    public D3D12RHIModule(TargetRules Rules) : base(Rules)
    {
        ModuleName          = "D3D12RHI";
        SourceFileSearchDir = "D3D12RHI";
        ModuleOutputType    = ModuleDef.ModuleType.LIB;
        IncludeDirectories.Add("Source/Core");
        SolutionFolderPath = "Engine/Modules/RHI";
        UseCorePCH         = false;
        PCH = "D3D12RHIPCH";
        ModuleOutputType = ModuleDef.ModuleType.ModuleDLL;
        UseUnity         = true;

        ThirdPartyModules.Add("Dx12Build");
        ThirdPartyModules.Add("OpenVRBuild");
        ThirdPartyModules.Add("PixBuild");
        ThirdPartyModules.Add("nvapiBuild");
        NuGetPackages.Add("WinPixEventRuntime");
        UnsupportedPlatforms.Add("Win64_VK");
        UnsupportedPlatforms.Add("Linux");
        UnsupportedPlatforms.Add("Android");

        string Win64 = "win64";

        StaticLibraries.Add(new LibDependency("d3d12.lib", Win64));
        StaticLibraries.Add(new LibDependency("dxguid.lib", Win64));
        StaticLibraries.Add(new LibDependency("dxgi.lib", Win64));
        StaticLibraries.Add(new LibDependency("d3dcompiler.lib", Win64));
        if (Rules.Win_SupportsRT())
        {
            StaticLibraries.Add(new LibDependency("dxcompiler.lib", Win64));
        }
    }
Beispiel #2
0
 public PixBuild()
 {
     ModuleRoot = "\\Pix\\";
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, false);
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, true);
     DLLs.Add("WinPixEventRuntime.dll");
     LibDirs.Add("../source/ThirdParty/Pix/");
     StaticLibraries.Add(new LibDependency("WinPixEventRuntime.lib", "win64"));
     UnsupportedPlatforms.Add("X*");
     IncludeDir = "\\Pix\\Include\\WinPixEventRuntime\\";
 }
Beispiel #3
0
 public assimpBuild()
 {
     ModuleRoot = "\\assimp\\";
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, false);
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, true);
     StaticLibraries.Add(new LibDependency("assimp.lib", "win64"));
     DLLs.Add("assimp-vc140-mt.dll");
     UnsupportedPlatforms.Add("X*");
     Defines.Add("BUILD_ASSIMP");
     LibDirs.Add("../source/ThirdParty/assimp/");
 }
Beispiel #4
0
 public OpenVRBuild()
 {
     ModuleRoot = "\\OpenVR\\";
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, false);
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, true);
     DLLs.Add("openvr_api.dll");
     UnsupportedPlatforms.Add("X*");
     Defines.Add("SUPPORT_OPENVR");
     StaticLibraries.Add(new LibDependency("openvr_api.lib", "win64"));
     LibDirs.Add("../source/ThirdParty/OpenVR/");
 }
Beispiel #5
0
 public nvapiBuild()
 {
     ModuleRoot = "\\nvapi\\";
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, false);
     AddLibSearch(ref LibrarySearchPaths, "", LibBuildConfig.General, true);
     if (File.Exists(ModuleDefManager.GetRootPath() + "\\Source\\ThirdParty\\nvapi\\Include\\nvapi.h"))
     {
         StaticLibraries.Add(new LibDependency("nvapi64.lib", "win64"));
         UnsupportedPlatforms.Add("X*");
         LibDirs.Add("../source/ThirdParty/nvapi/");
     }
 }
 public WindowsLegacyShaderCompilerModule(TargetRules Rules) : base(Rules)
 {
     SolutionFolderPath  = "Engine/ShaderCompilers/Windows";
     ModuleName          = "WindowsLegacyShaderCompiler";
     SourceFileSearchDir = "WindowsLegacyShaderCompiler";
     PCH = "WindowsLegacyShaderCompilerPCH";
     ModuleOutputType = ModuleDef.ModuleType.DLL;
     UseCorePCH       = false;
     UseUnity         = true;
     SystemLibNames.Add("d3d12.lib");
     SystemLibNames.Add("d3dcompiler.lib");
     UnsupportedPlatforms.Add("X*");
 }
Beispiel #7
0
 public VulkanRHIModule(TargetRules Rules) : base(Rules)
 {
     SolutionFolderPath  = "Engine/Modules/RHI";
     ModuleName          = "VulkanRHI";
     SourceFileSearchDir = "VulkanRHI";
     ModuleOutputType    = ModuleDef.ModuleType.ModuleDLL;
     UseCorePCH          = false;
     PCH      = "VulkanRHIPCH";
     UseUnity = true;
     PreProcessorDefines.Add("WITH_VK");
     ThirdPartyModules.Add("VulkanBuild");
     UnsupportedPlatforms.Add("Win64_DX12");
 }
Beispiel #8
0
    public CSharpBridgeModule(TargetRules Rules) : base(Rules)
    {
        SolutionFolderPath  = "Engine/CSharp";
        ModuleName          = "CSharpBridge";
        SourceFileSearchDir = "CoreModules/CSharpBridge";
        PCH = "CSharpBridgePCH";
        ModuleOutputType = ModuleDef.ModuleType.ModuleDLL;
        UseCorePCH       = false;
        UseUnity         = true;

        LaunguageType = ProjectType.ManagedCPP;
        UnsupportedPlatforms.Add("Android");
    }
 public StandaloneShaderCompilerModule(TargetRules Rules) : base(Rules)
 {
     ModuleName          = "StandaloneShaderCompiler";
     SourceFileSearchDir = "StandaloneShaderCompiler";
     ModuleOutputType    = ModuleDef.ModuleType.EXE;
     SolutionFolderPath  = "Tools";
     PCH          = "";
     UseCorePCH   = false;
     IsGameModule = false;
     UseUnity     = false;
     UnsupportedPlatforms.Add("X*");
     UseConsoleSubSystem = true;
     ExcludeConfigs.Add("*package*");
 }
 public CSharpContainerModule(TargetRules Rules) : base(Rules)
 {
     SolutionFolderPath  = "Engine/CSharp";
     ModuleName          = "CSharpContainer";
     SourceFileSearchDir = "CoreModules/CSharpContainer";//CoreModules/
     PCH = "CSharpContainerPCH";
     ModuleOutputType = ModuleDef.ModuleType.ModuleDLL;
     UseCorePCH       = false;
     UseUnity         = true;
     NetReferences.Add("CSharpCore");
     ModuleDepends.Add("CSharpCore");
     IncludeDirectories.Add("//Source//CoreModules//CSharpBridge//");
     LaunguageType = ProjectType.ManagedCPP;
     UnsupportedPlatforms.Add("Android");
 }
Beispiel #11
0
 public CSharpCoreModule(TargetRules Rules) : base(Rules)
 {
     SolutionFolderPath  = "Engine/CSharp";
     ModuleName          = "CSharpCore";
     SourceFileSearchDir = "CoreModules/CSharpCore";
     PCH = "";
     ModuleOutputType = ModuleDef.ModuleType.DLL;
     UseCorePCH       = false;
     UseUnity         = false;
     NeedsCore        = false;
     ModuleDepends.Add("CSharpBridge");
     NetReferences.Add("CSharpBridge");
     LaunguageType = ProjectType.CSharp;
     UnsupportedPlatforms.Add("Android");
 }