From 76ab55d1be291e751b5a0ca62a084fabe0fd04f3 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Thu, 25 May 2006 20:01:29 +0000 Subject: [PATCH] added demos --- Demos/Jamfile | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Demos/Jamfile b/Demos/Jamfile index 4aeade59f..21d2ba323 100644 --- a/Demos/Jamfile +++ b/Demos/Jamfile @@ -19,6 +19,28 @@ if $(GLUT.AVAILABLE) = "yes" "../../Extras/PhysicsInterface/CcdPhysics" "../../Extras/PhysicsInterface/Common" ; } + + #some demos need extra functionality, Collada / ConvexDecomposition etc. + rule ExtraDemo + { + Application $(<) : $(>) : noinstall console nomanifest ; + LinkWith $(<) : convexdecomposition bullet bulletopenglsupport bulletphysicsinterfacecommon bulletccdphysics bulletmath ; + CFlags $(<) : + [ FIncludes $(TOP)/Demos/OpenGL ] + [ FIncludes $(TOP)/Extras/PhysicsInterface/CcdPhysics ] + [ FIncludes $(TOP)/Extras/PhysicsInterface/Common ] + [ FIncludes $(TOP)/Extras/ConvexDecomposition ] + + ; + MsvcIncDirs $(<) : + "../../Demos/OpenGL" + "../../Extras/PhysicsInterface/CcdPhysics" + "../../Extras/PhysicsInterface/Common" ; + "../../Extras/ConvexDecomposition" ; + } + + + } else { @@ -40,8 +62,10 @@ else "../../Extras/PhysicsInterface/Common" ; } -SubInclude TOP Demos BasicSample ; SubInclude TOP Demos CcdPhysicsDemo ; +SubInclude TOP Demos ConvexDecompositionDemo ; +SubInclude TOP Demos ColladaDemo ; +SubInclude TOP Demos BasicSample ; SubInclude TOP Demos CollisionDemo ; SubInclude TOP Demos CollisionInterfaceDemo ; SubInclude TOP Demos ConcaveDemo ;