remove bullet CMakeLists.txt files, blender uses its own.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 22 Dec 2010 22:54:48 +0000 (22:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 22 Dec 2010 22:54:48 +0000 (22:54 +0000)
extern/bullet2/src/BulletCollision/CMakeLists.txt [deleted file]
extern/bullet2/src/BulletDynamics/CMakeLists.txt [deleted file]
extern/bullet2/src/BulletSoftBody/CMakeLists.txt [deleted file]
extern/bullet2/src/CMakeLists.txt [deleted file]
extern/bullet2/src/LinearMath/CMakeLists.txt [deleted file]

diff --git a/extern/bullet2/src/BulletCollision/CMakeLists.txt b/extern/bullet2/src/BulletCollision/CMakeLists.txt
deleted file mode 100644 (file)
index c3c0224..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-include_directories( ${BULLET_PHYSICS_SOURCE_DIR}/src } )
-
-set(BulletCollision_SRCS
-       BroadphaseCollision/btAxisSweep3.cpp
-       BroadphaseCollision/btBroadphaseProxy.cpp
-       BroadphaseCollision/btCollisionAlgorithm.cpp
-       BroadphaseCollision/btDispatcher.cpp
-       BroadphaseCollision/btDbvtBroadphase.cpp
-       BroadphaseCollision/btDbvt.cpp
-       BroadphaseCollision/btMultiSapBroadphase.cpp
-       BroadphaseCollision/btOverlappingPairCache.cpp
-       BroadphaseCollision/btQuantizedBvh.cpp
-       BroadphaseCollision/btSimpleBroadphase.cpp
-       CollisionDispatch/btActivatingCollisionAlgorithm.cpp
-       CollisionDispatch/btCollisionDispatcher.cpp
-       CollisionDispatch/btCollisionObject.cpp
-       CollisionDispatch/btCollisionWorld.cpp
-       CollisionDispatch/btCompoundCollisionAlgorithm.cpp
-       CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp
-       CollisionDispatch/btDefaultCollisionConfiguration.cpp
-       CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp
-       CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp
-       CollisionDispatch/btBoxBoxDetector.cpp
-       CollisionDispatch/btGhostObject.cpp
-       CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp
-       CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp
-       CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp
-       CollisionDispatch/btConvexConvexAlgorithm.cpp
-       CollisionDispatch/btEmptyCollisionAlgorithm.cpp
-       CollisionDispatch/btManifoldResult.cpp
-       CollisionDispatch/btSimulationIslandManager.cpp
-       CollisionDispatch/btUnionFind.cpp
-       CollisionDispatch/SphereTriangleDetector.cpp
-       CollisionShapes/btBoxShape.cpp
-       CollisionShapes/btBvhTriangleMeshShape.cpp
-       CollisionShapes/btCapsuleShape.cpp
-       CollisionShapes/btCollisionShape.cpp
-       CollisionShapes/btCompoundShape.cpp
-       CollisionShapes/btConcaveShape.cpp
-       CollisionShapes/btConeShape.cpp
-       CollisionShapes/btConvexHullShape.cpp
-       CollisionShapes/btConvexPointCloudShape.cpp
-       CollisionShapes/btConvexShape.cpp
-       CollisionShapes/btConvexInternalShape.cpp
-       CollisionShapes/btConvexTriangleMeshShape.cpp
-       CollisionShapes/btCylinderShape.cpp
-       CollisionShapes/btEmptyShape.cpp
-       CollisionShapes/btHeightfieldTerrainShape.cpp
-       CollisionShapes/btMinkowskiSumShape.cpp
-       CollisionShapes/btMultimaterialTriangleMeshShape.cpp
-       CollisionShapes/btMultiSphereShape.cpp
-       CollisionShapes/btOptimizedBvh.cpp
-       CollisionShapes/btPolyhedralConvexShape.cpp
-       CollisionShapes/btScaledBvhTriangleMeshShape.cpp
-       CollisionShapes/btTetrahedronShape.cpp
-       CollisionShapes/btSphereShape.cpp
-       CollisionShapes/btShapeHull.cpp
-       CollisionShapes/btStaticPlaneShape.cpp
-       CollisionShapes/btStridingMeshInterface.cpp
-       CollisionShapes/btTriangleCallback.cpp
-       CollisionShapes/btTriangleBuffer.cpp
-       CollisionShapes/btTriangleIndexVertexArray.cpp
-       CollisionShapes/btTriangleIndexVertexMaterialArray.cpp
-       CollisionShapes/btTriangleMesh.cpp
-       CollisionShapes/btTriangleMeshShape.cpp
-       CollisionShapes/btUniformScalingShape.cpp
-       Gimpact/btContactProcessing.cpp
-       Gimpact/btGImpactShape.cpp
-       Gimpact/gim_contact.cpp
-       Gimpact/btGImpactBvh.cpp
-       Gimpact/btGenericPoolAllocator.cpp
-       Gimpact/gim_memory.cpp
-       Gimpact/btGImpactCollisionAlgorithm.cpp
-       Gimpact/btTriangleShapeEx.cpp
-       Gimpact/gim_tri_collision.cpp
-       Gimpact/btGImpactQuantizedBvh.cpp
-       Gimpact/gim_box_set.cpp
-       NarrowPhaseCollision/btContinuousConvexCollision.cpp
-       NarrowPhaseCollision/btGjkEpa2.cpp
-       NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp
-       NarrowPhaseCollision/btConvexCast.cpp
-       NarrowPhaseCollision/btGjkConvexCast.cpp
-       NarrowPhaseCollision/btGjkPairDetector.cpp
-       NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp
-       NarrowPhaseCollision/btPersistentManifold.cpp
-       NarrowPhaseCollision/btRaycastCallback.cpp
-       NarrowPhaseCollision/btSubSimplexConvexCast.cpp
-       NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
-)
-
-set(Root_HDRS
-       ../btBulletCollisionCommon.h
-)
-set(BroadphaseCollision_HDRS
-       BroadphaseCollision/btAxisSweep3.h
-       BroadphaseCollision/btBroadphaseInterface.h
-       BroadphaseCollision/btBroadphaseProxy.h
-       BroadphaseCollision/btCollisionAlgorithm.h
-       BroadphaseCollision/btDispatcher.h
-       BroadphaseCollision/btDbvtBroadphase.h
-       BroadphaseCollision/btDbvt.h
-       BroadphaseCollision/btMultiSapBroadphase.h
-       BroadphaseCollision/btOverlappingPairCache.h
-       BroadphaseCollision/btOverlappingPairCallback.h
-       BroadphaseCollision/btQuantizedBvh.h
-       BroadphaseCollision/btSimpleBroadphase.h
-)
-set(CollisionDispatch_HDRS
-       CollisionDispatch/btActivatingCollisionAlgorithm.h
-       CollisionDispatch/btCollisionConfiguration.h
-       CollisionDispatch/btCollisionCreateFunc.h
-       CollisionDispatch/btCollisionDispatcher.h
-       CollisionDispatch/btCollisionObject.h
-       CollisionDispatch/btCollisionWorld.h
-       CollisionDispatch/btCompoundCollisionAlgorithm.h
-       CollisionDispatch/btConvexConcaveCollisionAlgorithm.h
-       CollisionDispatch/btDefaultCollisionConfiguration.h
-       CollisionDispatch/btSphereSphereCollisionAlgorithm.h
-       CollisionDispatch/btBoxBoxCollisionAlgorithm.h
-       CollisionDispatch/btBoxBoxDetector.h
-       CollisionDispatch/btGhostObject.h
-       CollisionDispatch/btSphereBoxCollisionAlgorithm.h
-       CollisionDispatch/btConvexPlaneCollisionAlgorithm.h
-       CollisionDispatch/btSphereTriangleCollisionAlgorithm.h
-       CollisionDispatch/btConvexConvexAlgorithm.h
-       CollisionDispatch/btEmptyCollisionAlgorithm.h
-       CollisionDispatch/btManifoldResult.h
-       CollisionDispatch/btSimulationIslandManager.h
-       CollisionDispatch/btUnionFind.h
-       CollisionDispatch/SphereTriangleDetector.h
-)
-set(CollisionShapes_HDRS
-       CollisionShapes/btBoxShape.h
-       CollisionShapes/btBvhTriangleMeshShape.h
-       CollisionShapes/btCapsuleShape.h
-       CollisionShapes/btCollisionMargin
-       CollisionShapes/btCollisionShape.h
-       CollisionShapes/btCompoundShape.h
-       CollisionShapes/btConcaveShape.h
-       CollisionShapes/btConeShape.h
-       CollisionShapes/btConvexHullShape.h
-       CollisionShapes/btConvexPointCloudShape.h
-       CollisionShapes/btConvexShape.h
-       CollisionShapes/btConvexInternalShape.h
-       CollisionShapes/btConvexTriangleMeshShape.h
-       CollisionShapes/btCylinderShape.h
-       CollisionShapes/btEmptyShape.h
-       CollisionShapes/btHeightfieldTerrainShape.h
-       CollisionShapes/btMinkowskiSumShape.h
-       CollisionShapes/btMaterial.h
-       CollisionShapes/btMultimaterialTriangleMeshShape.h
-       CollisionShapes/btMultiSphereShape.h
-       CollisionShapes/btOptimizedBvh.h
-       CollisionShapes/btPolyhedralConvexShape.h
-       CollisionShapes/btScaledBvhTriangleMeshShape.h
-       CollisionShapes/btTetrahedronShape.h
-       CollisionShapes/btSphereShape.h
-       CollisionShapes/btShapeHull.h
-       CollisionShapes/btStaticPlaneShape.h
-       CollisionShapes/btStridingMeshInterface.h
-       CollisionShapes/btTriangleCallback.h
-       CollisionShapes/btTriangleBuffer.h
-       CollisionShapes/btTriangleIndexVertexArray.h
-       CollisionShapes/btTriangleIndexVertexMaterialArray.h
-       CollisionShapes/btTriangleMesh.h
-       CollisionShapes/btTriangleMeshShape.h
-       CollisionShapes/btUniformScalingShape.h
-)
-set(Gimpact_HDRS
-       Gimpact/btGImpactShape.h
-       Gimpact/gim_contact.h
-       Gimpact/btGImpactBvh.h
-       Gimpact/btGenericPoolAllocator.h
-       Gimpact/gim_memory.h
-       Gimpact/btGImpactCollisionAlgorithm.h
-       Gimpact/btTriangleShapeEx.h
-       Gimpact/gim_tri_collision.h
-       Gimpact/btGImpactQuantizedBvh.h
-       Gimpact/gim_box_set.h
-)
-set(NarrowPhaseCollision_HDRS
-       NarrowPhaseCollision/btContinuousConvexCollision.h
-       NarrowPhaseCollision/btConvexCast.h
-       NarrowPhaseCollision/btConvexPenetrationDepthSolver.h
-       NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h
-       NarrowPhaseCollision/btGjkConvexCast.h
-       NarrowPhaseCollision/btGjkEpa2.h
-       NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h
-       NarrowPhaseCollision/btGjkPairDetector.h
-       NarrowPhaseCollision/btManifoldPoint.h
-       NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h
-       NarrowPhaseCollision/btPersistentManifold.h
-       NarrowPhaseCollision/btPointCollector.h
-       NarrowPhaseCollision/btRaycastCallback.h
-       NarrowPhaseCollision/btSimplexSolverInterface.h
-       NarrowPhaseCollision/btSubSimplexConvexCast.h
-       NarrowPhaseCollision/btVoronoiSimplexSolver.h
-)
-
-set(BulletCollision_HDRS
-       ${Root_HDRS}
-       ${BroadphaseCollision_HDRS}
-       ${CollisionDispatch_HDRS}
-       ${CollisionShapes_HDRS}
-       ${Gimpact_HDRS}
-       ${NarrowPhaseCollision_HDRS}
-)
-
-
-add_library(BulletCollision ${BulletCollision_SRCS} ${BulletCollision_HDRS})
-SET_TARGET_PROPERTIES(BulletCollision PROPERTIES VERSION ${BULLET_VERSION})
-SET_TARGET_PROPERTIES(BulletCollision PROPERTIES SOVERSION ${BULLET_VERSION})
-if(BUILD_SHARED_LIBS)
-       target_link_libraries(BulletCollision LinearMath)
-endif()
-
-#INSTALL of other files requires CMake 2.6
-if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
-       install(TARGETS BulletCollision DESTINATION lib)
-                               install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
-endif()
-
-if(APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
-       SET_TARGET_PROPERTIES(BulletCollision PROPERTIES FRAMEWORK true)
-
-       SET_TARGET_PROPERTIES(BulletCollision PROPERTIES PUBLIC_HEADER "${Root_HDRS}")
-       # Have to list out sub-directories manually:
-       set_property(SOURCE ${BroadphaseCollision_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/BroadphaseCollision)
-       set_property(SOURCE ${CollisionDispatch_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/CollisionDispatch)
-       set_property(SOURCE ${CollisionShapes_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/CollisionShapes)
-       set_property(SOURCE ${Gimpact_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/Gimpact)
-       set_property(SOURCE ${NarrowPhaseCollision_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/NarrowPhaseCollision)
-
-endif()
diff --git a/extern/bullet2/src/BulletDynamics/CMakeLists.txt b/extern/bullet2/src/BulletDynamics/CMakeLists.txt
deleted file mode 100644 (file)
index f605e62..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-include_directories( ${BULLET_PHYSICS_SOURCE_DIR}/src } )
-
-set(BulletDynamics_SRCS
-       ConstraintSolver/btContactConstraint.cpp
-       ConstraintSolver/btConeTwistConstraint.cpp
-       ConstraintSolver/btGeneric6DofConstraint.cpp
-       ConstraintSolver/btHingeConstraint.cpp
-       ConstraintSolver/btPoint2PointConstraint.cpp
-       ConstraintSolver/btSequentialImpulseConstraintSolver.cpp
-       ConstraintSolver/btSliderConstraint.cpp
-       ConstraintSolver/btSolve2LinearConstraint.cpp
-       ConstraintSolver/btTypedConstraint.cpp
-       Dynamics/Bullet-C-API.cpp
-       Dynamics/btDiscreteDynamicsWorld.cpp
-       Dynamics/btSimpleDynamicsWorld.cpp
-       Dynamics/btRigidBody.cpp
-       Vehicle/btRaycastVehicle.cpp
-       Vehicle/btWheelInfo.cpp
-       Character/btKinematicCharacterController.cpp
-)
-
-set(Root_HDRS
-       ../btBulletDynamicsCommon.h
-       ../btBulletCollisionCommon.h
-)
-set(ConstraintSolver_HDRS
-       ConstraintSolver/btConstraintSolver.h
-       ConstraintSolver/btContactConstraint.h
-       ConstraintSolver/btContactSolverInfo.h
-       ConstraintSolver/btConeTwistConstraint.h
-       ConstraintSolver/btGeneric6DofConstraint.h
-       ConstraintSolver/btHingeConstraint.h
-       ConstraintSolver/btJacobianEntry.h
-       ConstraintSolver/btPoint2PointConstraint.h
-       ConstraintSolver/btSequentialImpulseConstraintSolver.h
-       ConstraintSolver/btSliderConstraint.h
-       ConstraintSolver/btSolve2LinearConstraint.h
-       ConstraintSolver/btSolverBody.h
-       ConstraintSolver/btSolverConstraint.h
-       ConstraintSolver/btTypedConstraint.h
-)
-set(Dynamics_HDRS
-       Dynamics/btContinuousDynamicsWorld.h
-       Dynamics/btDiscreteDynamicsWorld.h
-       Dynamics/btDynamicsWorld.h
-       Dynamics/btSimpleDynamicsWorld.h
-       Dynamics/btRigidBody.h
-)
-set(Vehicle_HDRS
-       Vehicle/btRaycastVehicle.h
-       Vehicle/btVehicleRaycaster.h
-       Vehicle/btWheelInfo.h
-)
-
-set(Character_HDRS
-       Character/btCharacterControllerInterface.h
-       Character/btKinematicCharacterController.h
-)
-
-
-
-set(BulletDynamics_HDRS
-       ${Root_HDRS}
-       ${ConstraintSolver_HDRS}
-       ${Dynamics_HDRS}
-       ${Vehicle_HDRS}
-       ${Character_HDRS}
-)
-
-
-add_library(BulletDynamics ${BulletDynamics_SRCS} ${BulletDynamics_HDRS})
-SET_TARGET_PROPERTIES(BulletDynamics PROPERTIES VERSION ${BULLET_VERSION})
-SET_TARGET_PROPERTIES(BulletDynamics PROPERTIES SOVERSION ${BULLET_VERSION})
-if(BUILD_SHARED_LIBS)
-       target_link_libraries(BulletDynamics BulletCollision LinearMath)
-endif()
-
-if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
-       install(TARGETS BulletDynamics DESTINATION lib)
-       install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
-endif()
-
-if(APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
-       SET_TARGET_PROPERTIES(BulletDynamics PROPERTIES FRAMEWORK true)
-       
-       SET_TARGET_PROPERTIES(BulletDynamics PROPERTIES PUBLIC_HEADER "${Root_HDRS}")
-       # Have to list out sub-directories manually:
-       set_property(SOURCE ${ConstraintSolver_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/ConstraintSolver)
-       set_property(SOURCE ${Dynamics_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/Dynamics)
-       set_property(SOURCE ${Vehicle_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/Vehicle)
-       set_property(SOURCE ${Character_HDRS} PROPERTY MACOSX_PACKAGE_LOCATION Headers/Character)
-               
-endif()
diff --git a/extern/bullet2/src/BulletSoftBody/CMakeLists.txt b/extern/bullet2/src/BulletSoftBody/CMakeLists.txt
deleted file mode 100644 (file)
index 16fc86f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-
-include_directories(
-${BULLET_PHYSICS_SOURCE_DIR}/src }
-)
-
-set(BulletSoftBody_SRCS
-       btSoftBody.cpp
-       btSoftBodyHelpers.cpp
-       btSoftBodyRigidBodyCollisionConfiguration.cpp
-       btSoftRigidCollisionAlgorithm.cpp
-       btSoftSoftCollisionAlgorithm.cpp
-       btSoftBodyConcaveCollisionAlgorithm.cpp
-       btSoftRigidDynamicsWorld.cpp
-)
-
-set(BulletSoftBody_HDRS
-       btSoftBody.h
-       btSparseSDF.h
-       btSoftBodyHelpers.h
-       btSoftRigidCollisionAlgorithm.h
-       btSoftSoftCollisionAlgorithm.h
-       btSoftBodyConcaveCollisionAlgorithm.h
-       btSoftRigidDynamicsWorld.h
-)
-
-
-
-add_library(BulletSoftBody  ${BulletSoftBody_SRCS} ${BulletSoftBody_HDRS})
-SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES VERSION ${BULLET_VERSION})
-SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES SOVERSION ${BULLET_VERSION})
-if(BUILD_SHARED_LIBS)
-       target_link_libraries(BulletSoftBody BulletDynamics)
-endif()
-
-if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
-       install(TARGETS BulletSoftBody DESTINATION lib)
-                               install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
-endif()
-
-if(APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
-       SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES FRAMEWORK true)
-       SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES PUBLIC_HEADER "${BulletSoftBody_HDRS}")
-endif()
diff --git a/extern/bullet2/src/CMakeLists.txt b/extern/bullet2/src/CMakeLists.txt
deleted file mode 100644 (file)
index 6c9b6b0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-add_subdirectory(BulletCollision)
-add_subdirectory(BulletDynamics)
-add_subdirectory(LinearMath)
-add_subdirectory(BulletSoftBody )
diff --git a/extern/bullet2/src/LinearMath/CMakeLists.txt b/extern/bullet2/src/LinearMath/CMakeLists.txt
deleted file mode 100644 (file)
index acd3dbc..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-
-include_directories(
-${BULLET_PHYSICS_SOURCE_DIR}/src }
-)
-
-set(LinearMath_SRCS
-               btConvexHull.cpp
-               btQuickprof.cpp
-               btGeometryUtil.cpp
-               btAlignedAllocator.cpp
-)
-
-set(LinearMath_HDRS
-               btAlignedObjectArray.h
-               btList.h
-               btPoolAllocator.h
-               btRandom.h
-               btVector3.h
-               btDefaultMotionState.h
-               btMatrix3x3.h
-               btQuadWord.h
-               btHashMap.h
-               btScalar.h
-               btAabbUtil2.h
-               btConvexHull.h
-               btMinMax.h
-               btQuaternion.h
-               btStackAlloc.h
-               btGeometryUtil.h
-               btMotionState.h
-               btTransform.h
-               btAlignedAllocator.h
-               btIDebugDraw.h
-               btQuickprof.h
-               btTransformUtil.h
-)
-
-add_library(LinearMath ${LinearMath_SRCS} ${LinearMath_HDRS})
-SET_TARGET_PROPERTIES(LinearMath PROPERTIES VERSION ${BULLET_VERSION})
-SET_TARGET_PROPERTIES(LinearMath PROPERTIES SOVERSION ${BULLET_VERSION})
-
-#FILES_MATCHING requires CMake 2.6
-if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
-       install(TARGETS LinearMath DESTINATION lib)
-       install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
-endif()
-
-if(APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
-       SET_TARGET_PROPERTIES(LinearMath PROPERTIES FRAMEWORK true)
-       SET_TARGET_PROPERTIES(LinearMath PROPERTIES PUBLIC_HEADER "${LinearMath_HDRS}")
-endif()