only compile Bullet 3 if desired (with CMake)
remove empty namespace
This commit is contained in:
@@ -32,7 +32,7 @@ enum btMultiBodyLinkFlags
|
|||||||
// Various spatial helper functions
|
// Various spatial helper functions
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace {
|
//namespace {
|
||||||
|
|
||||||
#ifdef TEST_SPATIAL_ALGEBRA_LAYER
|
#ifdef TEST_SPATIAL_ALGEBRA_LAYER
|
||||||
|
|
||||||
@@ -343,7 +343,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
//}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Link struct
|
// Link struct
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
SUBDIRS( Bullet3OpenCL Bullet3Serialize/Bullet2FileLoader Bullet3Dynamics Bullet3Collision Bullet3Geometry Bullet3Common BulletSoftBody BulletCollision BulletDynamics LinearMath )
|
|
||||||
|
|
||||||
IF(BUILD_MULTITHREADING)
|
IF(BUILD_BULLET3)
|
||||||
SUBDIRS(MiniCL BulletMultiThreaded)
|
SUBDIRS( Bullet3OpenCL Bullet3Serialize/Bullet2FileLoader Bullet3Dynamics Bullet3Collision Bullet3Geometry Bullet3Common )
|
||||||
ENDIF()
|
ENDIF(BUILD_BULLET3)
|
||||||
|
|
||||||
|
SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )
|
||||||
|
|
||||||
|
|
||||||
IF(INSTALL_LIBS)
|
IF(INSTALL_LIBS)
|
||||||
#INSTALL of other files requires CMake 2.6
|
#INSTALL of other files requires CMake 2.6
|
||||||
|
|||||||
Reference in New Issue
Block a user