Update PhysX building for consoles
This commit is contained in:
1
Source/ThirdParty/PhysX/PhysX.Build.cs
vendored
1
Source/ThirdParty/PhysX/PhysX.Build.cs
vendored
@@ -104,6 +104,7 @@ public class PhysX : DepsModule
|
||||
if (useVehicle)
|
||||
{
|
||||
AddLib(options, depsRoot, string.Format("PhysXVehicle_static{0}", archPostFix));
|
||||
//AddLib(options, depsRoot, string.Format("PhysXVehicle2_static{0}", archPostFix));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#if PX_WINDOWS_FAMILY
|
||||
#include "foundation/windows/PxWindowsMathIntrinsics.h"
|
||||
#elif(PX_LINUX || PX_ANDROID || PX_APPLE_FAMILY)
|
||||
#elif (PX_LINUX || PX_ANDROID || PX_PS4 || PX_PS5 || PX_APPLE_FAMILY)
|
||||
#include "foundation/unix/PxUnixMathIntrinsics.h"
|
||||
#elif PX_SWITCH
|
||||
#include "foundation/switch/PxSwitchMathIntrinsics.h"
|
||||
|
||||
@@ -455,7 +455,7 @@ General defines
|
||||
|
||||
// check that exactly one of NDEBUG and _DEBUG is defined
|
||||
#if !defined(NDEBUG) ^ defined(_DEBUG)
|
||||
#error Exactly one of NDEBUG and _DEBUG needs to be defined!
|
||||
#undef _DEBUG
|
||||
#endif
|
||||
|
||||
// make sure PX_CHECKED is defined in all _DEBUG configurations as well
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "foundation/Px.h"
|
||||
#include "foundation/PxAssert.h"
|
||||
|
||||
#if !(PX_LINUX || PX_ANDROID || PX_APPLE_FAMILY)
|
||||
#if !(PX_LINUX || PX_ANDROID || PX_PS4 || PX_PS5 || PX_APPLE_FAMILY)
|
||||
#error "This file should only be included by Unix builds!!"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user