Update PhysX building for consoles

This commit is contained in:
Wojtek Figat
2023-03-06 17:39:18 +01:00
parent 7fce25a2e4
commit b7d4758dde
33 changed files with 85 additions and 36 deletions

View File

@@ -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));
}
}
}

View File

@@ -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"

View File

@@ -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

View File

@@ -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