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