mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
69e5454d18
Use statically linked freeglut, instead of dynamic glut for the obsolete Bullet 2.x demos Add the 'reset' method to b3GpuDynamicsWorld, and use it in the BasicGpuDemo (pretty slow in debug mode, use release mode) Don't crash in btCollisionWorld, if there is no collision dispatcher
67 lines
1.5 KiB
CMake
67 lines
1.5 KiB
CMake
|
|
SUBDIRS( HelloWorld )
|
|
|
|
|
|
IF (USE_GLUT)
|
|
IF (GLUT_FOUND)
|
|
IF(BUILD_CPU_DEMOS)
|
|
# IF(BUILD_EXTRAS)
|
|
# SUBDIRS( BulletXmlImportDemo ConcaveDemo ConstraintDemo ConvexDecompositionDemo SerializeDemo )
|
|
# ENDIF()
|
|
SET(SharedDemoSubdirs
|
|
OpenGL
|
|
CcdPhysicsDemo SliderConstraintDemo GenericJointDemo Raytracer
|
|
RagdollDemo ForkLiftDemo BasicDemo FeatherstoneMultiBodyDemo RollingFrictionDemo RaytestDemo VoronoiFractureDemo
|
|
GyroscopicDemo FractureDemo Box2dDemo BspDemo MovingConcaveDemo VehicleDemo
|
|
UserCollisionAlgorithm CharacterDemo SoftDemo
|
|
CollisionInterfaceDemo ConcaveConvexcastDemo SimplexDemo DynamicControlDemo
|
|
ConvexHullDistance
|
|
DoublePrecisionDemo CollisionDemo
|
|
ContinuousConvexCollision ConcaveRaycastDemo GjkConvexCastDemo
|
|
MultiMaterialDemo InternalEdgeDemo
|
|
)
|
|
ELSE()
|
|
SET(SharedDemoSubdirs OpenGL )
|
|
ENDIF(BUILD_CPU_DEMOS)
|
|
|
|
IF(BUILD_MULTITHREADING)
|
|
SUBDIRS( MultiThreadedDemo OpenCLClothDemo )
|
|
ENDIF(BUILD_MULTITHREADING)
|
|
|
|
SUBDIRS(
|
|
${SharedDemoSubdirs}
|
|
Benchmarks
|
|
)
|
|
|
|
IF(BUILD_MULTITHREADING)
|
|
SUBDIRS( ThreadingDemo VectorAdd_OpenCL )
|
|
ENDIF()
|
|
|
|
ENDIF(GLUT_FOUND)
|
|
ELSE (USE_GLUT)
|
|
IF (WIN32)
|
|
SUBDIRS(
|
|
OpenGL
|
|
BasicDemo
|
|
RaytestDemo
|
|
FractureDemo
|
|
Benchmarks
|
|
Box2dDemo
|
|
CollisionInterfaceDemo
|
|
ConcaveDemo
|
|
ConstraintDemo
|
|
RollingFrictionDemo
|
|
ConvexDecompositionDemo
|
|
InternalEdgeDemo
|
|
GyroscopicDemo
|
|
FeatherstoneMultiBodyDemo
|
|
GenericJointDemo
|
|
SerializeDemo
|
|
SoftDemo
|
|
VectorAdd_OpenCL
|
|
VoronoiFractureDemo
|
|
)
|
|
ENDIF(WIN32)
|
|
ENDIF (USE_GLUT)
|
|
|