Jolt.cmake 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. # Root
  2. set(JOLT_PHYSICS_ROOT ${PHYSICS_REPO_ROOT}/Jolt)
  3. # Source files
  4. set(JOLT_PHYSICS_SRC_FILES
  5. ${JOLT_PHYSICS_ROOT}/AABBTree/AABBTreeBuilder.cpp
  6. ${JOLT_PHYSICS_ROOT}/AABBTree/AABBTreeBuilder.h
  7. ${JOLT_PHYSICS_ROOT}/AABBTree/AABBTreeToBuffer.h
  8. ${JOLT_PHYSICS_ROOT}/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h
  9. ${JOLT_PHYSICS_ROOT}/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h
  10. ${JOLT_PHYSICS_ROOT}/Core/ARMNeon.h
  11. ${JOLT_PHYSICS_ROOT}/Core/Atomics.h
  12. ${JOLT_PHYSICS_ROOT}/Core/ByteBuffer.h
  13. ${JOLT_PHYSICS_ROOT}/Core/Color.cpp
  14. ${JOLT_PHYSICS_ROOT}/Core/Color.h
  15. ${JOLT_PHYSICS_ROOT}/Core/Core.h
  16. ${JOLT_PHYSICS_ROOT}/Core/Factory.cpp
  17. ${JOLT_PHYSICS_ROOT}/Core/Factory.h
  18. ${JOLT_PHYSICS_ROOT}/Core/FixedSizeFreeList.h
  19. ${JOLT_PHYSICS_ROOT}/Core/FixedSizeFreeList.inl
  20. ${JOLT_PHYSICS_ROOT}/Core/FPControlWord.h
  21. ${JOLT_PHYSICS_ROOT}/Core/FPException.h
  22. ${JOLT_PHYSICS_ROOT}/Core/FPFlushDenormals.h
  23. ${JOLT_PHYSICS_ROOT}/Core/HashCombine.h
  24. ${JOLT_PHYSICS_ROOT}/Core/InsertionSort.h
  25. ${JOLT_PHYSICS_ROOT}/Core/IssueReporting.cpp
  26. ${JOLT_PHYSICS_ROOT}/Core/IssueReporting.h
  27. ${JOLT_PHYSICS_ROOT}/Core/JobSystem.h
  28. ${JOLT_PHYSICS_ROOT}/Core/JobSystem.inl
  29. ${JOLT_PHYSICS_ROOT}/Core/JobSystemThreadPool.cpp
  30. ${JOLT_PHYSICS_ROOT}/Core/JobSystemThreadPool.h
  31. ${JOLT_PHYSICS_ROOT}/Core/LinearCurve.cpp
  32. ${JOLT_PHYSICS_ROOT}/Core/LinearCurve.h
  33. ${JOLT_PHYSICS_ROOT}/Core/LockFreeHashMap.h
  34. ${JOLT_PHYSICS_ROOT}/Core/LockFreeHashMap.inl
  35. ${JOLT_PHYSICS_ROOT}/Core/Memory.cpp
  36. ${JOLT_PHYSICS_ROOT}/Core/Memory.h
  37. ${JOLT_PHYSICS_ROOT}/Core/Mutex.h
  38. ${JOLT_PHYSICS_ROOT}/Core/MutexArray.h
  39. ${JOLT_PHYSICS_ROOT}/Core/NonCopyable.h
  40. ${JOLT_PHYSICS_ROOT}/Core/Profiler.cpp
  41. ${JOLT_PHYSICS_ROOT}/Core/Profiler.h
  42. ${JOLT_PHYSICS_ROOT}/Core/Profiler.inl
  43. ${JOLT_PHYSICS_ROOT}/Core/QuickSort.h
  44. ${JOLT_PHYSICS_ROOT}/Core/Reference.h
  45. ${JOLT_PHYSICS_ROOT}/Core/Result.h
  46. ${JOLT_PHYSICS_ROOT}/Core/RTTI.cpp
  47. ${JOLT_PHYSICS_ROOT}/Core/RTTI.h
  48. ${JOLT_PHYSICS_ROOT}/Core/StaticArray.h
  49. ${JOLT_PHYSICS_ROOT}/Core/StreamIn.h
  50. ${JOLT_PHYSICS_ROOT}/Core/StreamOut.h
  51. ${JOLT_PHYSICS_ROOT}/Core/StreamWrapper.h
  52. ${JOLT_PHYSICS_ROOT}/Core/StringTools.cpp
  53. ${JOLT_PHYSICS_ROOT}/Core/StringTools.h
  54. ${JOLT_PHYSICS_ROOT}/Core/STLAlignedAllocator.h
  55. ${JOLT_PHYSICS_ROOT}/Core/STLAllocator.h
  56. ${JOLT_PHYSICS_ROOT}/Core/STLTempAllocator.h
  57. ${JOLT_PHYSICS_ROOT}/Core/TempAllocator.h
  58. ${JOLT_PHYSICS_ROOT}/Core/TickCounter.cpp
  59. ${JOLT_PHYSICS_ROOT}/Core/TickCounter.h
  60. ${JOLT_PHYSICS_ROOT}/Core/UnorderedMap.h
  61. ${JOLT_PHYSICS_ROOT}/Core/UnorderedSet.h
  62. ${JOLT_PHYSICS_ROOT}/Geometry/AABox.h
  63. ${JOLT_PHYSICS_ROOT}/Geometry/AABox4.h
  64. ${JOLT_PHYSICS_ROOT}/Geometry/ClipPoly.h
  65. ${JOLT_PHYSICS_ROOT}/Geometry/ClosestPoint.h
  66. ${JOLT_PHYSICS_ROOT}/Geometry/ConvexHullBuilder.cpp
  67. ${JOLT_PHYSICS_ROOT}/Geometry/ConvexHullBuilder.h
  68. ${JOLT_PHYSICS_ROOT}/Geometry/ConvexHullBuilder2D.cpp
  69. ${JOLT_PHYSICS_ROOT}/Geometry/ConvexHullBuilder2D.h
  70. ${JOLT_PHYSICS_ROOT}/Geometry/ConvexSupport.h
  71. ${JOLT_PHYSICS_ROOT}/Geometry/Ellipse.h
  72. ${JOLT_PHYSICS_ROOT}/Geometry/EPAConvexHullBuilder.h
  73. ${JOLT_PHYSICS_ROOT}/Geometry/EPAPenetrationDepth.h
  74. ${JOLT_PHYSICS_ROOT}/Geometry/GJKClosestPoint.h
  75. ${JOLT_PHYSICS_ROOT}/Geometry/IndexedTriangle.h
  76. ${JOLT_PHYSICS_ROOT}/Geometry/Indexify.cpp
  77. ${JOLT_PHYSICS_ROOT}/Geometry/Indexify.h
  78. ${JOLT_PHYSICS_ROOT}/Geometry/MortonCode.h
  79. ${JOLT_PHYSICS_ROOT}/Geometry/OrientedBox.cpp
  80. ${JOLT_PHYSICS_ROOT}/Geometry/OrientedBox.h
  81. ${JOLT_PHYSICS_ROOT}/Geometry/Plane.h
  82. ${JOLT_PHYSICS_ROOT}/Geometry/RayAABox.h
  83. ${JOLT_PHYSICS_ROOT}/Geometry/RayAABox8.h
  84. ${JOLT_PHYSICS_ROOT}/Geometry/RayCapsule.h
  85. ${JOLT_PHYSICS_ROOT}/Geometry/RayCylinder.h
  86. ${JOLT_PHYSICS_ROOT}/Geometry/RaySphere.h
  87. ${JOLT_PHYSICS_ROOT}/Geometry/RayTriangle.h
  88. ${JOLT_PHYSICS_ROOT}/Geometry/RayTriangle8.h
  89. ${JOLT_PHYSICS_ROOT}/Geometry/Sphere.h
  90. ${JOLT_PHYSICS_ROOT}/Geometry/Triangle.h
  91. ${JOLT_PHYSICS_ROOT}/Jolt.cmake
  92. ${JOLT_PHYSICS_ROOT}/Jolt.h
  93. ${JOLT_PHYSICS_ROOT}/Math/DVec3.h
  94. ${JOLT_PHYSICS_ROOT}/Math/DVec3.inl
  95. ${JOLT_PHYSICS_ROOT}/Math/DynMatrix.h
  96. ${JOLT_PHYSICS_ROOT}/Math/EigenValueSymmetric.h
  97. ${JOLT_PHYSICS_ROOT}/Math/FindRoot.h
  98. ${JOLT_PHYSICS_ROOT}/Math/Float2.h
  99. ${JOLT_PHYSICS_ROOT}/Math/Float3.h
  100. ${JOLT_PHYSICS_ROOT}/Math/Float4.h
  101. ${JOLT_PHYSICS_ROOT}/Math/GaussianElimination.h
  102. ${JOLT_PHYSICS_ROOT}/Math/HalfFloat.h
  103. ${JOLT_PHYSICS_ROOT}/Math/Mat44.h
  104. ${JOLT_PHYSICS_ROOT}/Math/Mat44.inl
  105. ${JOLT_PHYSICS_ROOT}/Math/Math.h
  106. ${JOLT_PHYSICS_ROOT}/Math/MathTypes.h
  107. ${JOLT_PHYSICS_ROOT}/Math/Matrix.h
  108. ${JOLT_PHYSICS_ROOT}/Math/Quat.h
  109. ${JOLT_PHYSICS_ROOT}/Math/Quat.inl
  110. ${JOLT_PHYSICS_ROOT}/Math/Swizzle.h
  111. ${JOLT_PHYSICS_ROOT}/Math/Trigonometry.h
  112. ${JOLT_PHYSICS_ROOT}/Math/UVec4.cpp
  113. ${JOLT_PHYSICS_ROOT}/Math/UVec4.h
  114. ${JOLT_PHYSICS_ROOT}/Math/UVec4.inl
  115. ${JOLT_PHYSICS_ROOT}/Math/UVec8.h
  116. ${JOLT_PHYSICS_ROOT}/Math/UVec8.inl
  117. ${JOLT_PHYSICS_ROOT}/Math/Vec3.cpp
  118. ${JOLT_PHYSICS_ROOT}/Math/Vec3.h
  119. ${JOLT_PHYSICS_ROOT}/Math/Vec3.inl
  120. ${JOLT_PHYSICS_ROOT}/Math/Vec4.h
  121. ${JOLT_PHYSICS_ROOT}/Math/Vec4.inl
  122. ${JOLT_PHYSICS_ROOT}/Math/Vec8.h
  123. ${JOLT_PHYSICS_ROOT}/Math/Vec8.inl
  124. ${JOLT_PHYSICS_ROOT}/Math/Vector.h
  125. ${JOLT_PHYSICS_ROOT}/ObjectStream/GetPrimitiveTypeOfType.h
  126. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStream.cpp
  127. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStream.h
  128. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryIn.cpp
  129. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryIn.h
  130. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryOut.cpp
  131. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryOut.h
  132. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamIn.cpp
  133. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamIn.h
  134. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamOut.cpp
  135. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamOut.h
  136. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextIn.cpp
  137. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextIn.h
  138. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextOut.cpp
  139. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextOut.h
  140. ${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTypes.h
  141. ${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttribute.h
  142. ${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeEnum.h
  143. ${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeTyped.h
  144. ${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableObject.cpp
  145. ${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableObject.h
  146. ${JOLT_PHYSICS_ROOT}/ObjectStream/TypeDeclarations.cpp
  147. ${JOLT_PHYSICS_ROOT}/ObjectStream/TypeDeclarations.h
  148. ${JOLT_PHYSICS_ROOT}/Physics/Body/Body.cpp
  149. ${JOLT_PHYSICS_ROOT}/Physics/Body/Body.h
  150. ${JOLT_PHYSICS_ROOT}/Physics/Body/Body.inl
  151. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyAccess.cpp
  152. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyAccess.h
  153. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyActivationListener.h
  154. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyCreationSettings.cpp
  155. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyCreationSettings.h
  156. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyFilter.h
  157. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyID.h
  158. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyInterface.cpp
  159. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyInterface.h
  160. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyLock.h
  161. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyLockInterface.h
  162. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyLockMulti.h
  163. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyManager.cpp
  164. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyManager.h
  165. ${JOLT_PHYSICS_ROOT}/Physics/Body/BodyPair.h
  166. ${JOLT_PHYSICS_ROOT}/Physics/Body/MassProperties.cpp
  167. ${JOLT_PHYSICS_ROOT}/Physics/Body/MassProperties.h
  168. ${JOLT_PHYSICS_ROOT}/Physics/Body/MotionProperties.cpp
  169. ${JOLT_PHYSICS_ROOT}/Physics/Body/MotionProperties.h
  170. ${JOLT_PHYSICS_ROOT}/Physics/Body/MotionProperties.inl
  171. ${JOLT_PHYSICS_ROOT}/Physics/Body/MotionQuality.h
  172. ${JOLT_PHYSICS_ROOT}/Physics/Body/MotionType.h
  173. ${JOLT_PHYSICS_ROOT}/Physics/Character/Character.cpp
  174. ${JOLT_PHYSICS_ROOT}/Physics/Character/Character.h
  175. ${JOLT_PHYSICS_ROOT}/Physics/Character/CharacterBase.cpp
  176. ${JOLT_PHYSICS_ROOT}/Physics/Character/CharacterBase.h
  177. ${JOLT_PHYSICS_ROOT}/Physics/Character/CharacterVirtual.cpp
  178. ${JOLT_PHYSICS_ROOT}/Physics/Character/CharacterVirtual.h
  179. ${JOLT_PHYSICS_ROOT}/Physics/Collision/AABoxCast.h
  180. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ActiveEdgeMode.h
  181. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ActiveEdges.h
  182. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BackFaceMode.h
  183. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhase.cpp
  184. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhase.h
  185. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseBruteForce.cpp
  186. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseBruteForce.h
  187. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseLayer.h
  188. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseQuadTree.cpp
  189. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h
  190. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/BroadPhaseQuery.h
  191. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/QuadTree.cpp
  192. ${JOLT_PHYSICS_ROOT}/Physics/Collision/BroadPhase/QuadTree.h
  193. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CastConvexVsTriangles.cpp
  194. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CastConvexVsTriangles.h
  195. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CastSphereVsTriangles.cpp
  196. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CastSphereVsTriangles.h
  197. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CastResult.h
  198. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollectFacesMode.h
  199. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollideConvexVsTriangles.cpp
  200. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollideConvexVsTriangles.h
  201. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollidePointResult.h
  202. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollideShape.h
  203. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollideSphereVsTriangles.cpp
  204. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollideSphereVsTriangles.h
  205. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionCollector.h
  206. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionCollectorImpl.h
  207. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionDispatch.cpp
  208. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionDispatch.h
  209. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionGroup.cpp
  210. ${JOLT_PHYSICS_ROOT}/Physics/Collision/CollisionGroup.h
  211. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ContactListener.h
  212. ${JOLT_PHYSICS_ROOT}/Physics/Collision/GroupFilter.cpp
  213. ${JOLT_PHYSICS_ROOT}/Physics/Collision/GroupFilter.h
  214. ${JOLT_PHYSICS_ROOT}/Physics/Collision/GroupFilterTable.cpp
  215. ${JOLT_PHYSICS_ROOT}/Physics/Collision/GroupFilterTable.h
  216. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ManifoldBetweenTwoFaces.cpp
  217. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ManifoldBetweenTwoFaces.h
  218. ${JOLT_PHYSICS_ROOT}/Physics/Collision/NarrowPhaseQuery.cpp
  219. ${JOLT_PHYSICS_ROOT}/Physics/Collision/NarrowPhaseQuery.h
  220. ${JOLT_PHYSICS_ROOT}/Physics/Collision/NarrowPhaseStats.cpp
  221. ${JOLT_PHYSICS_ROOT}/Physics/Collision/NarrowPhaseStats.h
  222. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ObjectLayer.h
  223. ${JOLT_PHYSICS_ROOT}/Physics/Collision/PhysicsMaterial.cpp
  224. ${JOLT_PHYSICS_ROOT}/Physics/Collision/PhysicsMaterial.h
  225. ${JOLT_PHYSICS_ROOT}/Physics/Collision/PhysicsMaterialSimple.cpp
  226. ${JOLT_PHYSICS_ROOT}/Physics/Collision/PhysicsMaterialSimple.h
  227. ${JOLT_PHYSICS_ROOT}/Physics/Collision/RayCast.h
  228. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/BoxShape.cpp
  229. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/BoxShape.h
  230. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CapsuleShape.cpp
  231. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CapsuleShape.h
  232. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CompoundShape.cpp
  233. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CompoundShape.h
  234. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CompoundShapeVisitors.h
  235. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ConvexHullShape.cpp
  236. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ConvexHullShape.h
  237. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ConvexShape.cpp
  238. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ConvexShape.h
  239. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CylinderShape.cpp
  240. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/CylinderShape.h
  241. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/DecoratedShape.cpp
  242. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/DecoratedShape.h
  243. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/GetTrianglesContext.h
  244. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/HeightFieldShape.cpp
  245. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/HeightFieldShape.h
  246. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/MeshShape.cpp
  247. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/MeshShape.h
  248. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/MutableCompoundShape.cpp
  249. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/MutableCompoundShape.h
  250. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/OffsetCenterOfMassShape.cpp
  251. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/OffsetCenterOfMassShape.h
  252. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/PolyhedronSubmergedVolumeCalculator.h
  253. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/RotatedTranslatedShape.cpp
  254. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/RotatedTranslatedShape.h
  255. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ScaledShape.cpp
  256. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ScaledShape.h
  257. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/ScaleHelpers.h
  258. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/Shape.cpp
  259. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/Shape.h
  260. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/SphereShape.cpp
  261. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/SphereShape.h
  262. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/StaticCompoundShape.cpp
  263. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/StaticCompoundShape.h
  264. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/SubShapeID.h
  265. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/SubShapeIDPair.h
  266. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/TaperedCapsuleShape.cpp
  267. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/TaperedCapsuleShape.gliffy
  268. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/TaperedCapsuleShape.h
  269. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/TriangleShape.cpp
  270. ${JOLT_PHYSICS_ROOT}/Physics/Collision/Shape/TriangleShape.h
  271. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ShapeCast.h
  272. ${JOLT_PHYSICS_ROOT}/Physics/Collision/ShapeFilter.h
  273. ${JOLT_PHYSICS_ROOT}/Physics/Collision/SortReverseAndStore.h
  274. ${JOLT_PHYSICS_ROOT}/Physics/Collision/TransformedShape.cpp
  275. ${JOLT_PHYSICS_ROOT}/Physics/Collision/TransformedShape.h
  276. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConeConstraint.cpp
  277. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConeConstraint.h
  278. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/Constraint.cpp
  279. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/Constraint.h
  280. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintManager.cpp
  281. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintManager.h
  282. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/AngleConstraintPart.h
  283. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/AxisConstraintPart.h
  284. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/DualAxisConstraintPart.h
  285. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/GearConstraintPart.h
  286. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/HingeRotationConstraintPart.h
  287. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/IndependentAxisConstraintPart.h
  288. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/PointConstraintPart.h
  289. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/RackAndPinionConstraintPart.h
  290. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h
  291. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/RotationQuatConstraintPart.h
  292. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/SpringPart.h
  293. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ConstraintPart/SwingTwistConstraintPart.h
  294. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ContactConstraintManager.cpp
  295. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/ContactConstraintManager.h
  296. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/DistanceConstraint.cpp
  297. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/DistanceConstraint.h
  298. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/FixedConstraint.cpp
  299. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/FixedConstraint.h
  300. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/GearConstraint.cpp
  301. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/GearConstraint.h
  302. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/HingeConstraint.cpp
  303. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/HingeConstraint.h
  304. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/MotorSettings.cpp
  305. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/MotorSettings.h
  306. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraint.cpp
  307. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraint.h
  308. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraintPath.cpp
  309. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraintPath.h
  310. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraintPathHermite.cpp
  311. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PathConstraintPathHermite.h
  312. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PointConstraint.cpp
  313. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PointConstraint.h
  314. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PulleyConstraint.cpp
  315. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/PulleyConstraint.h
  316. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/RackAndPinionConstraint.cpp
  317. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/RackAndPinionConstraint.h
  318. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SixDOFConstraint.cpp
  319. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SixDOFConstraint.h
  320. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SliderConstraint.cpp
  321. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SliderConstraint.h
  322. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SwingTwistConstraint.cpp
  323. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/SwingTwistConstraint.h
  324. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/TwoBodyConstraint.cpp
  325. ${JOLT_PHYSICS_ROOT}/Physics/Constraints/TwoBodyConstraint.h
  326. ${JOLT_PHYSICS_ROOT}/Physics/DeterminismLog.cpp
  327. ${JOLT_PHYSICS_ROOT}/Physics/DeterminismLog.h
  328. ${JOLT_PHYSICS_ROOT}/Physics/EActivation.h
  329. ${JOLT_PHYSICS_ROOT}/Physics/IslandBuilder.cpp
  330. ${JOLT_PHYSICS_ROOT}/Physics/IslandBuilder.h
  331. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsLock.cpp
  332. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsLock.h
  333. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsScene.cpp
  334. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsScene.h
  335. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsSettings.h
  336. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsStepListener.h
  337. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsSystem.cpp
  338. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsSystem.h
  339. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsUpdateContext.cpp
  340. ${JOLT_PHYSICS_ROOT}/Physics/PhysicsUpdateContext.h
  341. ${JOLT_PHYSICS_ROOT}/Physics/Ragdoll/Ragdoll.cpp
  342. ${JOLT_PHYSICS_ROOT}/Physics/Ragdoll/Ragdoll.h
  343. ${JOLT_PHYSICS_ROOT}/Physics/StateRecorder.h
  344. ${JOLT_PHYSICS_ROOT}/Physics/StateRecorderImpl.cpp
  345. ${JOLT_PHYSICS_ROOT}/Physics/StateRecorderImpl.h
  346. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/TrackedVehicleController.cpp
  347. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/TrackedVehicleController.h
  348. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleAntiRollBar.cpp
  349. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleAntiRollBar.h
  350. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleCollisionTester.cpp
  351. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleCollisionTester.h
  352. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleConstraint.cpp
  353. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleConstraint.h
  354. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleController.cpp
  355. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleController.h
  356. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleDifferential.cpp
  357. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleDifferential.h
  358. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleEngine.cpp
  359. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleEngine.h
  360. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleTrack.cpp
  361. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleTrack.h
  362. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleTransmission.cpp
  363. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/VehicleTransmission.h
  364. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/Wheel.cpp
  365. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/Wheel.h
  366. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/WheeledVehicleController.cpp
  367. ${JOLT_PHYSICS_ROOT}/Physics/Vehicle/WheeledVehicleController.h
  368. ${JOLT_PHYSICS_ROOT}/RegisterTypes.cpp
  369. ${JOLT_PHYSICS_ROOT}/RegisterTypes.h
  370. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRenderer.cpp
  371. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRenderer.h
  372. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRendererPlayback.cpp
  373. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRendererPlayback.h
  374. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRendererRecorder.cpp
  375. ${JOLT_PHYSICS_ROOT}/Renderer/DebugRendererRecorder.h
  376. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletalAnimation.cpp
  377. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletalAnimation.h
  378. ${JOLT_PHYSICS_ROOT}/Skeleton/Skeleton.cpp
  379. ${JOLT_PHYSICS_ROOT}/Skeleton/Skeleton.h
  380. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletonMapper.cpp
  381. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletonMapper.h
  382. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletonPose.cpp
  383. ${JOLT_PHYSICS_ROOT}/Skeleton/SkeletonPose.h
  384. ${JOLT_PHYSICS_ROOT}/TriangleGrouper/TriangleGrouper.h
  385. ${JOLT_PHYSICS_ROOT}/TriangleGrouper/TriangleGrouperClosestCentroid.cpp
  386. ${JOLT_PHYSICS_ROOT}/TriangleGrouper/TriangleGrouperClosestCentroid.h
  387. ${JOLT_PHYSICS_ROOT}/TriangleGrouper/TriangleGrouperMorton.cpp
  388. ${JOLT_PHYSICS_ROOT}/TriangleGrouper/TriangleGrouperMorton.h
  389. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitter.cpp
  390. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitter.h
  391. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterBinning.cpp
  392. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterBinning.h
  393. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterFixedLeafSize.cpp
  394. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterFixedLeafSize.h
  395. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterLongestAxis.cpp
  396. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterLongestAxis.h
  397. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterMean.cpp
  398. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterMean.h
  399. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterMorton.cpp
  400. ${JOLT_PHYSICS_ROOT}/TriangleSplitter/TriangleSplitterMorton.h
  401. )
  402. if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
  403. # Add natvis file
  404. set(JOLT_PHYSICS_SRC_FILES ${JOLT_PHYSICS_SRC_FILES} ${JOLT_PHYSICS_ROOT}/Jolt.natvis)
  405. endif()
  406. # Group source files
  407. source_group(TREE ${JOLT_PHYSICS_ROOT} FILES ${JOLT_PHYSICS_SRC_FILES})
  408. # Create Jolt lib
  409. add_library(Jolt STATIC ${JOLT_PHYSICS_SRC_FILES})
  410. target_include_directories(Jolt PUBLIC ${PHYSICS_REPO_ROOT})
  411. target_precompile_headers(Jolt PRIVATE ${JOLT_PHYSICS_ROOT}/Jolt.h)
  412. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Debug>:_DEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
  413. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Release>:NDEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
  414. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Distribution>:NDEBUG>")
  415. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:ReleaseASAN>:NDEBUG;JPH_PROFILE_ENABLED;JPH_DISABLE_TEMP_ALLOCATOR;JPH_DISABLE_CUSTOM_ALLOCATOR;JPH_DEBUG_RENDERER>")
  416. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:ReleaseUBSAN>:NDEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
  417. target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:ReleaseCoverage>:NDEBUG>")