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:
1
Extras/PhysicsInterface/CMakeLists.txt
Normal file
1
Extras/PhysicsInterface/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
||||
SUBDIRS( CcdPhysics Common )
|
||||
11
Extras/PhysicsInterface/CcdPhysics/CMakeLists.txt
Normal file
11
Extras/PhysicsInterface/CcdPhysics/CMakeLists.txt
Normal 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
|
||||
)
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
10
Extras/PhysicsInterface/Common/CMakeLists.txt
Normal file
10
Extras/PhysicsInterface/Common/CMakeLists.txt
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user