Cleanup: remove compilation warning in previous commit.
[blender-staging.git] / extern / bullet2 / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 # ***** END GPL LICENSE BLOCK *****
20
21 # avoid noisy warnings
22 if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
23   remove_cc_flag(
24     "-Wall"
25   )
26 endif()
27
28 # Use double precision to make simulations of small objects stable.
29 add_definitions(-DBT_USE_DOUBLE_PRECISION)
30
31 set(INC
32   .
33   src
34 )
35
36 set(INC_SYS
37
38 )
39
40 set(SRC
41   src/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp
42   src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp
43   src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp
44   src/BulletCollision/BroadphaseCollision/btDbvt.cpp
45   src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp
46   src/BulletCollision/BroadphaseCollision/btDispatcher.cpp
47   src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp
48   src/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp
49   src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp
50   src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
51   src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp
52   src/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp
53   src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp
54   src/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp
55   src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp
56   src/BulletCollision/CollisionDispatch/btCollisionObject.cpp
57   src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp
58   src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.cpp
59   src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp
60   src/BulletCollision/CollisionDispatch/btCompoundCompoundCollisionAlgorithm.cpp
61   src/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.cpp
62   src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp
63   src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp
64   src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp
65   src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp
66   src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp
67   src/BulletCollision/CollisionDispatch/btGhostObject.cpp
68   src/BulletCollision/CollisionDispatch/btHashedSimplePairCache.cpp
69   src/BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp
70   src/BulletCollision/CollisionDispatch/btManifoldResult.cpp
71   src/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp
72   src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp
73   src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp
74   src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp
75   src/BulletCollision/CollisionDispatch/btUnionFind.cpp
76   src/BulletCollision/CollisionShapes/btBox2dShape.cpp
77   src/BulletCollision/CollisionShapes/btBoxShape.cpp
78   src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp
79   src/BulletCollision/CollisionShapes/btCapsuleShape.cpp
80   src/BulletCollision/CollisionShapes/btCollisionShape.cpp
81   src/BulletCollision/CollisionShapes/btCompoundShape.cpp
82   src/BulletCollision/CollisionShapes/btConcaveShape.cpp
83   src/BulletCollision/CollisionShapes/btConeShape.cpp
84   src/BulletCollision/CollisionShapes/btConvex2dShape.cpp
85   src/BulletCollision/CollisionShapes/btConvexHullShape.cpp
86   src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp
87   src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp
88   src/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp
89   src/BulletCollision/CollisionShapes/btConvexShape.cpp
90   src/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp
91   src/BulletCollision/CollisionShapes/btCylinderShape.cpp
92   src/BulletCollision/CollisionShapes/btEmptyShape.cpp
93   src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp
94   src/BulletCollision/CollisionShapes/btMiniSDF.cpp
95   src/BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp
96   src/BulletCollision/CollisionShapes/btMultiSphereShape.cpp
97   src/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp
98   src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp
99   src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp
100   src/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp
101   src/BulletCollision/CollisionShapes/btSdfCollisionShape.cpp
102   src/BulletCollision/CollisionShapes/btShapeHull.cpp
103   src/BulletCollision/CollisionShapes/btSphereShape.cpp
104   src/BulletCollision/CollisionShapes/btStaticPlaneShape.cpp
105   src/BulletCollision/CollisionShapes/btStridingMeshInterface.cpp
106   src/BulletCollision/CollisionShapes/btTetrahedronShape.cpp
107   src/BulletCollision/CollisionShapes/btTriangleBuffer.cpp
108   src/BulletCollision/CollisionShapes/btTriangleCallback.cpp
109   src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp
110   src/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp
111   src/BulletCollision/CollisionShapes/btTriangleMesh.cpp
112   src/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp
113   src/BulletCollision/CollisionShapes/btUniformScalingShape.cpp
114   src/BulletCollision/Gimpact/btContactProcessing.cpp
115   src/BulletCollision/Gimpact/btGImpactBvh.cpp
116   src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp
117   src/BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp
118   src/BulletCollision/Gimpact/btGImpactShape.cpp
119   src/BulletCollision/Gimpact/btGenericPoolAllocator.cpp
120   src/BulletCollision/Gimpact/btTriangleShapeEx.cpp
121   src/BulletCollision/Gimpact/gim_box_set.cpp
122   src/BulletCollision/Gimpact/gim_contact.cpp
123   src/BulletCollision/Gimpact/gim_memory.cpp
124   src/BulletCollision/Gimpact/gim_tri_collision.cpp
125   src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp
126   src/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp
127   src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp
128   src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp
129   src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp
130   src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp
131   src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp
132   src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp
133   src/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.cpp
134   src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp
135   src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp
136   src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
137
138   src/BulletDynamics/Character/btKinematicCharacterController.cpp
139   src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp
140   src/BulletDynamics/ConstraintSolver/btContactConstraint.cpp
141   src/BulletDynamics/ConstraintSolver/btFixedConstraint.cpp
142   src/BulletDynamics/ConstraintSolver/btGearConstraint.cpp
143   src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp
144   src/BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.cpp
145   src/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp
146   src/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp
147   src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp
148   src/BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.cpp
149   src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp
150   src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp
151   src/BulletDynamics/ConstraintSolver/btSliderConstraint.cpp
152   src/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.cpp
153   src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
154   src/BulletDynamics/ConstraintSolver/btUniversalConstraint.cpp
155   src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp
156   src/BulletDynamics/Dynamics/btRigidBody.cpp
157   src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp
158   src/BulletDynamics/Featherstone/btMultiBody.cpp
159   src/BulletDynamics/Featherstone/btMultiBodyConstraint.cpp
160   src/BulletDynamics/Featherstone/btMultiBodyConstraintSolver.cpp
161   src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp
162   src/BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.cpp
163   src/BulletDynamics/Featherstone/btMultiBodyJointMotor.cpp
164   src/BulletDynamics/Featherstone/btMultiBodyPoint2Point.cpp
165   src/BulletDynamics/MLCPSolvers/btDantzigLCP.cpp
166   src/BulletDynamics/MLCPSolvers/btLemkeAlgorithm.cpp
167   src/BulletDynamics/MLCPSolvers/btMLCPSolver.cpp
168   src/BulletDynamics/Vehicle/btRaycastVehicle.cpp
169   src/BulletDynamics/Vehicle/btWheelInfo.cpp
170
171   src/BulletSoftBody/btDefaultSoftBodySolver.cpp
172   src/BulletSoftBody/btSoftBody.cpp
173   src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.cpp
174   src/BulletSoftBody/btSoftBodyHelpers.cpp
175   src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp
176   src/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp
177   src/BulletSoftBody/btSoftRigidDynamicsWorld.cpp
178   src/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp
179
180   src/LinearMath/btAlignedAllocator.cpp
181   src/LinearMath/btConvexHull.cpp
182   src/LinearMath/btConvexHullComputer.cpp
183   src/LinearMath/btGeometryUtil.cpp
184   src/LinearMath/btPolarDecomposition.cpp
185   src/LinearMath/btQuickprof.cpp
186   src/LinearMath/btSerializer.cpp
187   src/LinearMath/btSerializer64.cpp
188   src/LinearMath/btVector3.cpp
189
190   src/BulletCollision/BroadphaseCollision/btAxisSweep3.h
191   src/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
192   src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h
193   src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h
194   src/BulletCollision/BroadphaseCollision/btDbvt.h
195   src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h
196   src/BulletCollision/BroadphaseCollision/btDispatcher.h
197   src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h
198   src/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h
199   src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h
200   src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h
201   src/BulletCollision/CollisionDispatch/SphereTriangleDetector.h
202   src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h
203   src/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h
204   src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h
205   src/BulletCollision/CollisionDispatch/btBoxBoxDetector.h
206   src/BulletCollision/CollisionDispatch/btCollisionConfiguration.h
207   src/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h
208   src/BulletCollision/CollisionDispatch/btCollisionDispatcher.h
209   src/BulletCollision/CollisionDispatch/btCollisionObject.h
210   src/BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h
211   src/BulletCollision/CollisionDispatch/btCollisionWorld.h
212   src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.h
213   src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h
214   src/BulletCollision/CollisionDispatch/btCompoundCompoundCollisionAlgorithm.h
215   src/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h
216   src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h
217   src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h
218   src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h
219   src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
220   src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h
221   src/BulletCollision/CollisionDispatch/btGhostObject.h
222   src/BulletCollision/CollisionDispatch/btHashedSimplePairCache.h
223   src/BulletCollision/CollisionDispatch/btInternalEdgeUtility.h
224   src/BulletCollision/CollisionDispatch/btManifoldResult.h
225   src/BulletCollision/CollisionDispatch/btSimulationIslandManager.h
226   src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h
227   src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h
228   src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h
229   src/BulletCollision/CollisionDispatch/btUnionFind.h
230   src/BulletCollision/CollisionShapes/btBox2dShape.h
231   src/BulletCollision/CollisionShapes/btBoxShape.h
232   src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h
233   src/BulletCollision/CollisionShapes/btCapsuleShape.h
234   src/BulletCollision/CollisionShapes/btCollisionMargin.h
235   src/BulletCollision/CollisionShapes/btCollisionShape.h
236   src/BulletCollision/CollisionShapes/btCompoundShape.h
237   src/BulletCollision/CollisionShapes/btConcaveShape.h
238   src/BulletCollision/CollisionShapes/btConeShape.h
239   src/BulletCollision/CollisionShapes/btConvex2dShape.h
240   src/BulletCollision/CollisionShapes/btConvexHullShape.h
241   src/BulletCollision/CollisionShapes/btConvexInternalShape.h
242   src/BulletCollision/CollisionShapes/btConvexPointCloudShape.h
243   src/BulletCollision/CollisionShapes/btConvexPolyhedron.h
244   src/BulletCollision/CollisionShapes/btConvexShape.h
245   src/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h
246   src/BulletCollision/CollisionShapes/btCylinderShape.h
247   src/BulletCollision/CollisionShapes/btEmptyShape.h
248   src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h
249   src/BulletCollision/CollisionShapes/btMaterial.h
250   src/BulletCollision/CollisionShapes/btMiniSDF.h
251   src/BulletCollision/CollisionShapes/btMinkowskiSumShape.h
252   src/BulletCollision/CollisionShapes/btMultiSphereShape.h
253   src/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h
254   src/BulletCollision/CollisionShapes/btOptimizedBvh.h
255   src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h
256   src/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h
257   src/BulletCollision/CollisionShapes/btSdfCollisionShape.h
258   src/BulletCollision/CollisionShapes/btShapeHull.h
259   src/BulletCollision/CollisionShapes/btSphereShape.h
260   src/BulletCollision/CollisionShapes/btStaticPlaneShape.h
261   src/BulletCollision/CollisionShapes/btStridingMeshInterface.h
262   src/BulletCollision/CollisionShapes/btTetrahedronShape.h
263   src/BulletCollision/CollisionShapes/btTriangleBuffer.h
264   src/BulletCollision/CollisionShapes/btTriangleCallback.h
265   src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
266   src/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h
267   src/BulletCollision/CollisionShapes/btTriangleInfoMap.h
268   src/BulletCollision/CollisionShapes/btTriangleMesh.h
269   src/BulletCollision/CollisionShapes/btTriangleMeshShape.h
270   src/BulletCollision/CollisionShapes/btTriangleShape.h
271   src/BulletCollision/CollisionShapes/btUniformScalingShape.h
272   src/BulletCollision/Gimpact/btBoxCollision.h
273   src/BulletCollision/Gimpact/btClipPolygon.h
274   src/BulletCollision/Gimpact/btCompoundFromGimpact.h
275   src/BulletCollision/Gimpact/btContactProcessing.h
276   src/BulletCollision/Gimpact/btGImpactBvh.h
277   src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h
278   src/BulletCollision/Gimpact/btGImpactMassUtil.h
279   src/BulletCollision/Gimpact/btGImpactQuantizedBvh.h
280   src/BulletCollision/Gimpact/btGImpactShape.h
281   src/BulletCollision/Gimpact/btGenericPoolAllocator.h
282   src/BulletCollision/Gimpact/btGeometryOperations.h
283   src/BulletCollision/Gimpact/btQuantization.h
284   src/BulletCollision/Gimpact/btTriangleShapeEx.h
285   src/BulletCollision/Gimpact/gim_array.h
286   src/BulletCollision/Gimpact/gim_basic_geometry_operations.h
287   src/BulletCollision/Gimpact/gim_bitset.h
288   src/BulletCollision/Gimpact/gim_box_collision.h
289   src/BulletCollision/Gimpact/gim_box_set.h
290   src/BulletCollision/Gimpact/gim_clip_polygon.h
291   src/BulletCollision/Gimpact/gim_contact.h
292   src/BulletCollision/Gimpact/gim_geom_types.h
293   src/BulletCollision/Gimpact/gim_geometry.h
294   src/BulletCollision/Gimpact/gim_hash_table.h
295   src/BulletCollision/Gimpact/gim_linear_math.h
296   src/BulletCollision/Gimpact/gim_math.h
297   src/BulletCollision/Gimpact/gim_memory.h
298   src/BulletCollision/Gimpact/gim_radixsort.h
299   src/BulletCollision/Gimpact/gim_tri_collision.h
300   src/BulletCollision/NarrowPhaseCollision/btComputeGjkEpaPenetration.h
301   src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
302   src/BulletCollision/NarrowPhaseCollision/btConvexCast.h
303   src/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h
304   src/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h
305   src/BulletCollision/NarrowPhaseCollision/btGjkCollisionDescription.h
306   src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h
307   src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h
308   src/BulletCollision/NarrowPhaseCollision/btGjkEpa3.h
309   src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h
310   src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h
311   src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h
312   src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h
313   src/BulletCollision/NarrowPhaseCollision/btMprPenetration.h
314   src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h
315   src/BulletCollision/NarrowPhaseCollision/btPointCollector.h
316   src/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h
317   src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
318   src/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h
319   src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h
320   src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h
321
322   src/BulletDynamics/Character/btCharacterControllerInterface.h
323   src/BulletDynamics/Character/btKinematicCharacterController.h
324   src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h
325   src/BulletDynamics/ConstraintSolver/btConstraintSolver.h
326   src/BulletDynamics/ConstraintSolver/btContactConstraint.h
327   src/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
328   src/BulletDynamics/ConstraintSolver/btFixedConstraint.h
329   src/BulletDynamics/ConstraintSolver/btGearConstraint.h
330   src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h
331   src/BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h
332   src/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h
333   src/BulletDynamics/ConstraintSolver/btHinge2Constraint.h
334   src/BulletDynamics/ConstraintSolver/btHingeConstraint.h
335   src/BulletDynamics/ConstraintSolver/btJacobianEntry.h
336   src/BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h
337   src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h
338   src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
339   src/BulletDynamics/ConstraintSolver/btSliderConstraint.h
340   src/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h
341   src/BulletDynamics/ConstraintSolver/btSolverBody.h
342   src/BulletDynamics/ConstraintSolver/btSolverConstraint.h
343   src/BulletDynamics/ConstraintSolver/btTypedConstraint.h
344   src/BulletDynamics/ConstraintSolver/btUniversalConstraint.h
345   src/BulletDynamics/Dynamics/btActionInterface.h
346   src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h
347   src/BulletDynamics/Dynamics/btDynamicsWorld.h
348   src/BulletDynamics/Dynamics/btRigidBody.h
349   src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h
350   src/BulletDynamics/Featherstone/btMultiBody.h
351   src/BulletDynamics/Featherstone/btMultiBodyConstraint.h
352   src/BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h
353   src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h
354   src/BulletDynamics/Featherstone/btMultiBodyJointFeedback.h
355   src/BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h
356   src/BulletDynamics/Featherstone/btMultiBodyJointMotor.h
357   src/BulletDynamics/Featherstone/btMultiBodyLink.h
358   src/BulletDynamics/Featherstone/btMultiBodyLinkCollider.h
359   src/BulletDynamics/Featherstone/btMultiBodyPoint2Point.h
360   src/BulletDynamics/Featherstone/btMultiBodySolverConstraint.h
361   src/BulletDynamics/MLCPSolvers/btDantzigLCP.h
362   src/BulletDynamics/MLCPSolvers/btDantzigSolver.h
363   src/BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h
364   src/BulletDynamics/MLCPSolvers/btLemkeSolver.h
365   src/BulletDynamics/MLCPSolvers/btMLCPSolver.h
366   src/BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h
367   src/BulletDynamics/MLCPSolvers/btPATHSolver.h
368   src/BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h
369   src/BulletDynamics/Vehicle/btRaycastVehicle.h
370   src/BulletDynamics/Vehicle/btVehicleRaycaster.h
371   src/BulletDynamics/Vehicle/btWheelInfo.h
372
373   src/BulletSoftBody/btDefaultSoftBodySolver.h
374   src/BulletSoftBody/btSoftBody.h
375   src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h
376   src/BulletSoftBody/btSoftBodyData.h
377   src/BulletSoftBody/btSoftBodyHelpers.h
378   src/BulletSoftBody/btSoftBodyInternals.h
379   src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h
380   src/BulletSoftBody/btSoftBodySolverVertexBuffer.h
381   src/BulletSoftBody/btSoftBodySolvers.h
382   src/BulletSoftBody/btSoftRigidCollisionAlgorithm.h
383   src/BulletSoftBody/btSoftRigidDynamicsWorld.h
384   src/BulletSoftBody/btSoftSoftCollisionAlgorithm.h
385   src/BulletSoftBody/btSparseSDF.h
386
387   src/LinearMath/btAabbUtil2.h
388   src/LinearMath/btAlignedAllocator.h
389   src/LinearMath/btAlignedObjectArray.h
390   src/LinearMath/btConvexHull.h
391   src/LinearMath/btConvexHullComputer.h
392   src/LinearMath/btCpuFeatureUtility.h
393   src/LinearMath/btDefaultMotionState.h
394   src/LinearMath/btGeometryUtil.h
395   src/LinearMath/btGrahamScan2dConvexHull.h
396   src/LinearMath/btHashMap.h
397   src/LinearMath/btIDebugDraw.h
398   src/LinearMath/btList.h
399   src/LinearMath/btMatrix3x3.h
400   src/LinearMath/btMatrixX.h
401   src/LinearMath/btMinMax.h
402   src/LinearMath/btMotionState.h
403   src/LinearMath/btPolarDecomposition.h
404   src/LinearMath/btPoolAllocator.h
405   src/LinearMath/btQuadWord.h
406   src/LinearMath/btQuaternion.h
407   src/LinearMath/btQuickprof.h
408   src/LinearMath/btRandom.h
409   src/LinearMath/btScalar.h
410   src/LinearMath/btSerializer.h
411   src/LinearMath/btSpatialAlgebra.h
412   src/LinearMath/btStackAlloc.h
413   src/LinearMath/btTransform.h
414   src/LinearMath/btTransformUtil.h
415   src/LinearMath/btVector3.h
416
417   src/btBulletCollisionCommon.h
418   src/btBulletDynamicsCommon.h
419 )
420
421 set(LIB
422 )
423
424 if(CMAKE_COMPILER_IS_GNUCXX)
425   # needed for gcc 4.6+
426   string(APPEND CMAKE_CXX_FLAGS " -fpermissive")
427 endif()
428
429 if(MSVC)
430   # bullet is responsible for quite a few silly warnings
431   # suppress all of them. Not great, but they really needed
432   # to sort that out themselves.
433   remove_cc_flag("/W3")
434   add_c_flag("/W0")
435 endif()
436
437 blender_add_lib(extern_bullet "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")