Fixes to building module physx using ppremake

This commit is contained in:
enn0x 2010-01-07 14:02:50 +00:00
parent 1dfe33c7a2
commit dcf28f5205
2 changed files with 18 additions and 26 deletions

View File

@ -8,22 +8,12 @@
#define BUILD_DIRECTORY $[HAVE_PHYSX] #define BUILD_DIRECTORY $[HAVE_PHYSX]
#define BUILDING_DLL BUILDING_PANDAPHYSX #define BUILDING_DLL BUILDING_PANDAPHYSX
#define COMPONENT_LIBS \ #define EXTRA_CDEFS NX32 $[if $[eq $[PLATFORM], Linux], LINUX CORELIB NX_DISABLE_FLUIDS]
physx
#define LOCAL_LIBS \ #define COMPONENT_LIBS physx
linmath \ #define LOCAL_LIBS linmath putil express
putil \ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
express dtoolutil:c dtoolbase:c dtool:m prc:c
#define OTHER_LIBS \
interrogatedb:c \
dconfig:c \
dtoolconfig:m \
dtoolbase:c \
dtoolutil:c \
dtool:m \
prc:c
#begin metalib_target #begin metalib_target
#define TARGET pandaphysx #define TARGET pandaphysx

View File

@ -1,15 +1,16 @@
#define BUILD_DIRECTORY $[HAVE_PHYSX] #define BUILD_DIRECTORY $[HAVE_PHYSX]
#define BUILDING_DLL BUILDING_PANDAPHYSX
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m prc:c dtoolutil:c dtoolbase:c dtool:m prc:c
#define EXTRA_CDEFS NX32 $[if $[eq $[PLATFORM], Linux], LINUX CORELIB NX_DISABLE_FLUIDS]
#begin lib_target #begin lib_target
#define TARGET physx #define TARGET physx
#define BUILD_TARGET $[HAVE_PHYSX] #define LOCAL_LIBS pgraph linmath grutil
#define USE_PACKAGES physx #define USE_PACKAGES physx
#define LOCAL_LIBS pgraph linmath
#define COMBINED_SOURCES $[TARGET]_composite.cxx #define COMBINED_SOURCES $[TARGET]_composite.cxx
#define INTERROGATE_OPTIONS $[INTERROGATE_OPTIONS]
#define SOURCES \ #define SOURCES \
NoMinMax.h \ NoMinMax.h \
@ -52,8 +53,8 @@
physxDebugGeomNode.I physxDebugGeomNode.h \ physxDebugGeomNode.I physxDebugGeomNode.h \
physxDistanceJoint.I physxDistanceJoint.h \ physxDistanceJoint.I physxDistanceJoint.h \
physxDistanceJointDesc.I physxDistanceJointDesc.h \ physxDistanceJointDesc.I physxDistanceJointDesc.h \
physxEnums.I physxEnums.h \ physxEnums.h \
physxFileStream.I physxFileStream.h \ physxFileStream.h \
physxFixedJoint.I physxFixedJoint.h \ physxFixedJoint.I physxFixedJoint.h \
physxFixedJointDesc.I physxFixedJointDesc.h \ physxFixedJointDesc.I physxFixedJointDesc.h \
physxForceField.I physxForceField.h \ physxForceField.I physxForceField.h \
@ -77,8 +78,8 @@
physxMask.I physxMask.h \ physxMask.I physxMask.h \
physxMaterial.I physxMaterial.h \ physxMaterial.I physxMaterial.h \
physxMaterialDesc.I physxMaterialDesc.h \ physxMaterialDesc.I physxMaterialDesc.h \
physxMemoryReadBuffer.I physxMemoryReadBuffer.h \ physxMemoryReadBuffer.h \
physxMemoryWriteBuffer.I physxMemoryWriteBuffer.h \ physxMemoryWriteBuffer.h \
physxMeshPool.I physxMeshPool.h \ physxMeshPool.I physxMeshPool.h \
physxMotorDesc.I physxMotorDesc.h \ physxMotorDesc.I physxMotorDesc.h \
physxObject.I physxObject.h \ physxObject.I physxObject.h \
@ -124,6 +125,7 @@
physxWheelShapeDesc.I physxWheelShapeDesc.h \ physxWheelShapeDesc.I physxWheelShapeDesc.h \
#define INCLUDED_SOURCES \ #define INCLUDED_SOURCES \
config_physx.cxx \
physxActor.cxx \ physxActor.cxx \
physxActorDesc.cxx \ physxActorDesc.cxx \
physxBodyDesc.cxx \ physxBodyDesc.cxx \
@ -274,8 +276,8 @@
physxDebugGeomNode.I physxDebugGeomNode.h \ physxDebugGeomNode.I physxDebugGeomNode.h \
physxDistanceJoint.I physxDistanceJoint.h \ physxDistanceJoint.I physxDistanceJoint.h \
physxDistanceJointDesc.I physxDistanceJointDesc.h \ physxDistanceJointDesc.I physxDistanceJointDesc.h \
physxEnums.I physxEnums.h \ physxEnums.h \
physxFileStream.I physxFileStream.h \ physxFileStream.h \
physxFixedJoint.I physxFixedJoint.h \ physxFixedJoint.I physxFixedJoint.h \
physxFixedJointDesc.I physxFixedJointDesc.h \ physxFixedJointDesc.I physxFixedJointDesc.h \
physxForceField.I physxForceField.h \ physxForceField.I physxForceField.h \
@ -299,8 +301,8 @@
physxMask.I physxMask.h \ physxMask.I physxMask.h \
physxMaterial.I physxMaterial.h \ physxMaterial.I physxMaterial.h \
physxMaterialDesc.I physxMaterialDesc.h \ physxMaterialDesc.I physxMaterialDesc.h \
physxMemoryReadBuffer.I physxMemoryReadBuffer.h \ physxMemoryReadBuffer.h \
physxMemoryWriteBuffer.I physxMemoryWriteBuffer.h \ physxMemoryWriteBuffer.h \
physxMeshPool.I physxMeshPool.h \ physxMeshPool.I physxMeshPool.h \
physxMotorDesc.I physxMotorDesc.h \ physxMotorDesc.I physxMotorDesc.h \
physxObject.I physxObject.h \ physxObject.I physxObject.h \