move the SoftBody work into its own library, BulletSoftBody (work in progress)

This commit is contained in:
erwin.coumans 2008-04-11 18:41:07 +00:00
parent 177287ae78
commit 621be07178
21 changed files with 31 additions and 16 deletions

View File

@ -46,18 +46,4 @@ ADD_LIBRARY(LibBulletDynamics
Vehicle/btRaycastVehicle.h
Vehicle/btWheelInfo.cpp
Vehicle/btWheelInfo.h
SoftBody/btSoftBody.cpp
SoftBody/btSoftBody.h
SoftBody/btSoftBodyHelpers.cpp
SoftBody/btSparseSDF.h
SoftBody/btDbvt.cpp
SoftBody/btDbvt.h
SoftBody/btSoftBodyHelpers.h
SoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp
SoftBody/btSoftRigidCollisionAlgorithm.cpp
SoftBody/btSoftRigidCollisionAlgorithm.h
SoftBody/btSoftSoftCollisionAlgorithm.cpp
SoftBody/btSoftSoftCollisionAlgorithm.h
SoftBody/btSoftRigidDynamicsWorld.h
SoftBody/btSoftRigidDynamicsWorld.cpp
)

View File

@ -3,7 +3,6 @@ SubDir TOP src BulletDynamics ;
Description bulletdynamics : "Bullet Rigidbody Dynamics" ;
Library bulletdynamics :
[ Wildcard ConstraintSolver : *.h *.cpp ]
[ Wildcard SoftBody : *.h *.cpp ]
[ Wildcard Dynamics : *.h *.cpp ]
[ Wildcard Vehicle : *.h *.cpp ]
;

View File

@ -0,0 +1,21 @@
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/src }
)
ADD_LIBRARY(LibBulletSoftBody
btSoftBody.cpp
btSoftBody.h
btSoftBodyHelpers.cpp
btSparseSDF.h
btDbvt.cpp
btDbvt.h
btSoftBodyHelpers.h
btSoftBodyRigidBodyCollisionConfiguration.cpp
btSoftRigidCollisionAlgorithm.cpp
btSoftRigidCollisionAlgorithm.h
btSoftSoftCollisionAlgorithm.cpp
btSoftSoftCollisionAlgorithm.h
btSoftRigidDynamicsWorld.h
btSoftRigidDynamicsWorld.cpp
)

View File

@ -0,0 +1,8 @@
SubDir TOP src BulletSoftBody ;
Description bulletsoftbody : "Bullet Softbody Dynamics" ;
Library bulletsoftbody :
[ Wildcard *.h *.cpp ]
;
LibDepends bulletsoftbody : bulletdynamics bulletcollision ;

View File

@ -1 +1 @@
SUBDIRS( BulletCollision BulletDynamics LinearMath )
SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )

View File

@ -1,5 +1,6 @@
SubDir TOP src ;
SubInclude TOP src BulletSoftBody ;
SubInclude TOP src BulletCollision ;
SubInclude TOP src BulletDynamics ;
SubInclude TOP src LinearMath ;