3 ${BULLET_PHYSICS_SOURCE_DIR}/src
9 SET(BulletSoftBody_SRCS
11 btSoftBodyConcaveCollisionAlgorithm.cpp
13 btSoftBodyRigidBodyCollisionConfiguration.cpp
14 btSoftRigidCollisionAlgorithm.cpp
15 btSoftRigidDynamicsWorld.cpp
16 btSoftMultiBodyDynamicsWorld.cpp
17 btSoftSoftCollisionAlgorithm.cpp
18 btDefaultSoftBodySolver.cpp
20 btDeformableBackwardEulerObjective.cpp
21 btDeformableBodySolver.cpp
22 btDeformableMultiBodyConstraintSolver.cpp
23 btDeformableContactProjection.cpp
24 btDeformableMultiBodyDynamicsWorld.cpp
25 btDeformableContactConstraint.cpp
28 BulletReducedDeformableBody/btReducedDeformableBody.cpp
29 BulletReducedDeformableBody/btReducedDeformableBodyHelpers.cpp
30 BulletReducedDeformableBody/btReducedDeformableBodySolver.cpp
31 BulletReducedDeformableBody/btReducedDeformableContactConstraint.cpp
35 SET(BulletSoftBody_HDRS
38 btSoftBodyConcaveCollisionAlgorithm.h
40 btSoftBodyRigidBodyCollisionConfiguration.h
41 btSoftRigidCollisionAlgorithm.h
42 btSoftRigidDynamicsWorld.h
43 btSoftMultiBodyDynamicsWorld.h
44 btSoftSoftCollisionAlgorithm.h
48 btDefaultSoftBodySolver.h
53 btDeformableGravityForce.h
54 btDeformableMassSpringForce.h
55 btDeformableCorotatedForce.h
56 btDeformableNeoHookeanForce.h
57 btDeformableLinearElasticityForce.h
58 btDeformableLagrangianForce.h
61 btDeformableBackwardEulerObjective.h
62 btDeformableBodySolver.h
63 btDeformableMultiBodyConstraintSolver.h
64 btDeformableContactProjection.h
65 btDeformableMultiBodyDynamicsWorld.h
66 btDeformableContactConstraint.h
70 btSoftBodySolverVertexBuffer.h
72 BulletReducedDeformableBody/btReducedDeformableBody.h
73 BulletReducedDeformableBody/btReducedDeformableBodyHelpers.h
74 BulletReducedDeformableBody/btReducedDeformableBodySolver.h
75 BulletReducedDeformableBody/btReducedDeformableContactConstraint.h
80 ADD_LIBRARY(BulletSoftBody ${BulletSoftBody_SRCS} ${BulletSoftBody_HDRS})
81 SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES VERSION ${BULLET_VERSION})
82 SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES SOVERSION ${BULLET_VERSION})
83 IF (BUILD_SHARED_LIBS)
84 TARGET_LINK_LIBRARIES(BulletSoftBody BulletDynamics)
85 ENDIF (BUILD_SHARED_LIBS)
88 IF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
89 IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
90 IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
91 INSTALL(TARGETS BulletSoftBody DESTINATION .)
92 ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
93 INSTALL(TARGETS BulletSoftBody RUNTIME DESTINATION bin
94 LIBRARY DESTINATION lib${LIB_SUFFIX}
95 ARCHIVE DESTINATION lib${LIB_SUFFIX})
96 INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
97 DESTINATION ${INCLUDE_INSTALL_DIR} FILES_MATCHING PATTERN "*.h" PATTERN
98 ".svn" EXCLUDE PATTERN "CMakeFiles" EXCLUDE)
99 ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
100 ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
102 IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
103 SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES FRAMEWORK true)
104 SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES PUBLIC_HEADER "${BulletSoftBody_HDRS}")
105 ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
106 ENDIF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)