Added preliminary CMake buildsystem support, it can autogenerate projectfiles/makefiles etc. Including Mac OS X Xcode.

This provides a better maintainable alternative to jam/msvcgen
This commit is contained in:
ejcoumans
2006-08-09 19:38:21 +00:00
parent 04e57189c8
commit 3a27e8b1bf
13 changed files with 185 additions and 4 deletions

View File

@@ -0,0 +1 @@
SUBDIRS( CcdPhysics Common )

View File

@@ -0,0 +1,11 @@
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/LinearMath ${BULLET_PHYSICS_SOURCE_DIR}/Bullet ${BULLET_PHYSICS_SOURCE_DIR}/BulletDynamics ${BULLET_PHYSICS_SOURCE_DIR}/Extras/PhysicsInterface/Common ${BULLET_PHYSICS_SOURCE_DIR}/Extras/PhysicsInterface/CcdPhysics }
)
ADD_LIBRARY(CCD_PHYSICS_INTERFACE
CcdPhysicsController.cpp
CcdPhysicsEnvironment.cpp
ParallelIslandDispatcher.cpp
ParallelPhysicsEnvironment.cpp
SimulationIsland.cpp
)

View File

@@ -455,10 +455,10 @@ void SimulationIsland::UpdateAabbs(IDebugDraw* debugDrawer,BroadphaseInterface*
if (reportMe)
{
reportMe = false;
printf("Overflow in AABB, object removed from simulation \n");
printf("If you can reproduce this, please email bugs@continuousphysics.com\n");
printf("Please include above information, your Platform, version of OS.\n");
printf("Thanks.\n");
//printf("Overflow in AABB, object removed from simulation \n");
//printf("If you can reproduce this, please email bugs@continuousphysics.com\n");
//printf("Please include above information, your Platform, version of OS.\n");
//printf("Thanks.\n");
}
}

View File

@@ -0,0 +1,10 @@
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/LinearMath ${BULLET_PHYSICS_SOURCE_DIR}/Extras/PhysicsInterface/Common }
)
ADD_LIBRARY(PHYSICS_COMMON_INTERFACE
PHY_IMotionState.cpp
PHY_IPhysicsController.cpp
PHY_IPhysicsEnvironment.cpp
PHY_IVehicle.cpp
)