mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-19 06:06:07 +00:00
Add CMake install support for libbulletmath,libbulletcollision,libbulletdynamics,libbulletsoftbody,and toplevel include files Options to enable/disable BUILD_DEMOS and BUILD_ETRAS Fixed compile issue in BulletMultiThreaded Fixed double-precision issues with btMatrix3x3::getEulerZYX
43 lines
907 B
CMake
43 lines
907 B
CMake
|
|
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src }
|
|
)
|
|
|
|
SET(LibLinearMath_SRCS
|
|
btConvexHull.cpp
|
|
btQuickprof.cpp
|
|
btGeometryUtil.cpp
|
|
btAlignedAllocator.cpp
|
|
)
|
|
|
|
SET(LibLinearMath_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(LibLinearMath SHARED ${LibLinearMath_SRCS} ${LibLinearMath_HDRS})
|
|
ADD_LIBRARY(LibLinearMath ${LibLinearMath_SRCS} ${LibLinearMath_HDRS})
|
|
|
|
INSTALL(TARGETS LibLinearMath DESTINATION lib)
|
|
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
|