You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixes NonUnity build. #rb none #ROBOMERGE-SOURCE: CL 11901046 via CL 11901071 via CL 11901085 #ROBOMERGE-BOT: (v656-11643781) [CL 11901095 by max whitehead in Main branch]
37 lines
951 B
C#
37 lines
951 B
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"
|
|
}
|
|
);
|
|
|
|
SetupModulePhysicsSupport(Target);
|
|
|
|
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");
|
|
}
|
|
}
|
|
}
|
|
}
|