1 SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )
3 IF(BUILD_MULTITHREADING)
4 SUBDIRS(MiniCL BulletMultiThreaded)
8 #INSTALL of other files requires CMake 2.6
9 IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
10 IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
11 # Don't actually need to install any common files, the frameworks include everything
12 ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
13 INSTALL(FILES btBulletCollisionCommon.h btBulletDynamicsCommon.h Bullet-C-Api.h DESTINATION ${INCLUDE_INSTALL_DIR})
14 INSTALL(FILES vectormath/vmInclude.h DESTINATION ${INCLUDE_INSTALL_DIR}/vectormath)
15 INSTALL(FILES vectormath/scalar/boolInVec.h
16 vectormath/scalar/floatInVec.h
17 vectormath/scalar/mat_aos.h
18 vectormath/scalar/quat_aos.h
19 vectormath/scalar/vec_aos.h
20 vectormath/scalar/vectormath_aos.h
21 DESTINATION ${INCLUDE_INSTALL_DIR}/vectormath/scalar)
22 INSTALL(FILES vectormath/sse/boolInVec.h
23 vectormath/sse/floatInVec.h
24 vectormath/sse/mat_aos.h
25 vectormath/sse/quat_aos.h
26 vectormath/sse/vec_aos.h
27 vectormath/sse/vecidx_aos.h
28 vectormath/sse/vectormath_aos.h
29 DESTINATION ${INCLUDE_INSTALL_DIR}/vectormath/sse)
30 ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
31 ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)