// Copyright 2026 Timothé Lapetite and contributors // Released under the MIT license https://opensource.org/license/MIT/ using System.IO; using UnrealBuildTool; public class PCGExElementsSampling : ModuleRules { public PCGExElementsSampling(ReadOnlyTargetRules Target) : base(Target) { bool bNoPCH = File.Exists(Path.Combine(ModuleDirectory, "..", "..", "Config", ".noPCH")); PCHUsage = bNoPCH ? PCHUsageMode.NoPCHs : PCHUsageMode.UseExplicitOrSharedPCHs; bUseUnity = true; MinSourceFilesForUnityBuildOverride = 4; PrecompileForTargets = PrecompileTargetsType.Any; //IWYUSupport = IWYUSupport.Full; PublicIncludePaths.AddRange( new string[] { } ); PrivateIncludePaths.AddRange( new string[] { } ); PublicDependencyModuleNames.AddRange( new[] { "Core", "CoreUObject", "Engine", "PCG", "PCGExCore", "PCGExFilters", "PCGExMatching", "PCGExBlending", "PCGExFoundations", } ); PrivateDependencyModuleNames.AddRange( new string[] { "RenderCore", "RHI", "PCGExCore", "GeometryCore", "GeometryFramework", "GeometryAlgorithms", "PhysicsCore", } ); DynamicallyLoadedModuleNames.AddRange( new string[] { } ); if (Target.bBuildEditor == true) { PrivateDependencyModuleNames.AddRange( new string[] { "UnrealEd", "Slate", "SlateCore", }); } } }