Skip to content
Snippets Groups Projects
Select Git revision
  • 0c4ff69e09baeff51742c6008d04ca86fa9ccec2
  • 5.4 default protected
  • 5.5
  • dev/5.5
  • dev/5.4
  • dev/5.3_downgrade
  • feature/experimenttime_hack
  • 5.3 protected
  • _IntenSelect5.3
  • IntenSelect5.3
  • 4.27 protected
  • 4.26 protected
  • 5.0 protected
  • 4.22 protected
  • 4.21 protected
  • UE5.4-2024.1
  • UE5.4-2024.1-rc1
  • UE5.3-2023.1-rc3
  • UE5.3-2023.1-rc2
  • UE5.3-2023.1-rc
20 results

RWTHVRToolkit.Build.cs

Blame
  • David Gilbert's avatar
    David Gilbert authored
    If enabled, Utilities forwards to cluster specific utilities and the pawn gets a cluster sync component spawned at runtime. Removes Cluster specific input from general imc
    376c1fea
    History
    RWTHVRToolkit.Build.cs 1.50 KiB
    using UnrealBuildTool;
    
    public class RWTHVRToolkit : ModuleRules
    {
    	public RWTHVRToolkit(ReadOnlyTargetRules Target) : base(Target)
    	{
    		PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
    		
    		PublicIncludePaths.AddRange(
    			new string[]{}
    		);
    
    		PrivateIncludePaths.AddRange(
    			new string[]{}
    		);
    
    		PublicDependencyModuleNames.AddRange(
    			new string[]
    			{
    			"Core",
    			"CoreUObject",
    			"Engine",
    			"HeadMountedDisplay",
    			"InputCore",
    			"UMG",
    			"Slate",
    			"SlateCore",
    			"DeveloperSettings",
    			"HTTP",
    			"LiveLink",
    			"LiveLinkInterface",
    			"EnhancedInput", 
    			"Niagara",
    			"NavigationSystem"
    			}
    		);
    
    		PrivateDependencyModuleNames.AddRange(
    			new string[]
    			{
    				"NetCore"
    			}
    		);
    		if (Target.bBuildEditor == true)
    		{
    			PrivateDependencyModuleNames.Add("UnrealEd");
    		}
    
    		DynamicallyLoadedModuleNames.AddRange(
    			new string[]{}
    		);
    
    		if (IsPluginEnabledForTarget("RWTHVRCluster", base.Target))
    		{
    			PrivateDependencyModuleNames.Add("RWTHVRCluster");
    			PrivateDependencyModuleNames.Add("DisplayCluster");
    			PublicDefinitions.Add("PLATFORM_SUPPORTS_CLUSTER=1");
    		}
    		else
    		{			
    			PublicDefinitions.Add("PLATFORM_SUPPORTS_CLUSTER=0");
    		}
    	}
    	
    	private static bool IsPluginEnabledForTarget(string PluginName, ReadOnlyTargetRules Target)
    	{
    		var PL = Plugins.GetPlugin(PluginName);
    		return PL != null && Target.ProjectFile != null && Plugins.IsPluginEnabledForTarget(PL,
    			ProjectDescriptor.FromFile(Target.ProjectFile), Target.Platform, Target.Configuration, Target.Type);
    	}
    }