You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class PhysicsCore: ModuleRules
|
|
{
|
|
public PhysicsCore(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicIncludePaths.Add("Runtime/PhysicsCore/Public");
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject"
|
|
}
|
|
);
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"DeveloperSettings"
|
|
}
|
|
);
|
|
|
|
SetupModulePhysicsSupport(Target);
|
|
|
|
|
|
// SetupModulePhysicsSupport adds a dependency on PhysicsCore, but we are PhysicsCore!
|
|
PublicIncludePathModuleNames.Remove("PhysicsCore");
|
|
PublicDependencyModuleNames.Remove("PhysicsCore");
|
|
|
|
if (Target.bCompileChaos == false && Target.bUseChaos == false)
|
|
{
|
|
if (Target.bCompilePhysX)
|
|
{
|
|
// Not ideal but as this module publicly exposes PhysX types
|
|
// to other modules when PhysX is enabled it requires that its
|
|
// public files have access to PhysX includes
|
|
PublicDependencyModuleNames.Add("PhysX");
|
|
}
|
|
|
|
if (Target.bCompileAPEX)
|
|
{
|
|
PublicDependencyModuleNames.Add("APEX");
|
|
}
|
|
}
|
|
|
|
PrivateDefinitions.Add("CHAOS_INCLUDE_LEVEL_1=1");
|
|
}
|
|
}
|