mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 14:10:11 +00:00
86 lines
2.7 KiB
Plaintext
86 lines
2.7 KiB
Plaintext
SubDir TOP Demos ;
|
|
|
|
SubInclude TOP Demos OpenGL ;
|
|
|
|
if $(GLUT.AVAILABLE) = "yes"
|
|
{
|
|
# All demo apps have a lot in common, so use this rule to simply things
|
|
rule BulletDemo
|
|
{
|
|
Application $(<) : $(>) : noinstall console nomanifest ;
|
|
LinkWith $(<) : bullet bulletopenglsupport bulletphysicsinterfacecommon bulletccdphysics bulletmath ;
|
|
CFlags $(<) :
|
|
[ FIncludes $(TOP)/Demos/OpenGL ]
|
|
[ FIncludes $(TOP)/Extras/PhysicsInterface/CcdPhysics ]
|
|
[ FIncludes $(TOP)/Extras/PhysicsInterface/Common ]
|
|
;
|
|
MsvcIncDirs $(<) :
|
|
"../../Demos/OpenGL"
|
|
"../../Extras/PhysicsInterface/CcdPhysics"
|
|
"../../Extras/PhysicsInterface/Common" ;
|
|
}
|
|
|
|
#some demos need extra functionality, Collada / ConvexDecomposition etc.
|
|
rule ExtraDemo
|
|
{
|
|
Application $(<) : $(>) : noinstall console nomanifest ;
|
|
LinkWith $(<) : collada-dom libxml 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 ]
|
|
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include ]
|
|
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include/1.4 ]
|
|
[ FIncludes $(TOP)/Extras/LibXML ]
|
|
[ FIncludes $(TOP)/Extras/LibXML/include ]
|
|
|
|
|
|
|
|
;
|
|
MsvcIncDirs $(<) :
|
|
"../../Demos/OpenGL"
|
|
"../../Extras/PhysicsInterface/CcdPhysics"
|
|
"../../Extras/PhysicsInterface/Common"
|
|
"../../Extras/ConvexDecomposition"
|
|
"../../Extras/COLLADA_DOM/include"
|
|
"../../Extras/COLLADA_DOM/include/1.4"
|
|
"../../Extras/LibXML"
|
|
"../../Extras/LibXML/include" ;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
else
|
|
{
|
|
rule BulletDemo
|
|
{
|
|
}
|
|
}
|
|
|
|
rule BulletBasicDemo
|
|
{
|
|
Application $(<) : $(>) : noinstall console nomanifest ;
|
|
LinkWith $(<) : bullet bulletphysicsinterfacecommon bulletccdphysics bulletmath ;
|
|
CFlags $(<) :
|
|
[ FIncludes $(TOP)/Extras/PhysicsInterface/CcdPhysics ]
|
|
[ FIncludes $(TOP)/Extras/PhysicsInterface/Common ]
|
|
;
|
|
MsvcIncDirs $(<) :
|
|
"../../Extras/PhysicsInterface/CcdPhysics"
|
|
"../../Extras/PhysicsInterface/Common" ;
|
|
}
|
|
|
|
SubInclude TOP Demos CcdPhysicsDemo ;
|
|
SubInclude TOP Demos ConvexDecompositionDemo ;
|
|
SubInclude TOP Demos ColladaDemo ;
|
|
SubInclude TOP Demos CollisionDemo ;
|
|
SubInclude TOP Demos CollisionInterfaceDemo ;
|
|
SubInclude TOP Demos ConcaveDemo ;
|
|
SubInclude TOP Demos ConstraintDemo ;
|
|
SubInclude TOP Demos ContinuousConvexCollision ;
|
|
SubInclude TOP Demos GjkConvexCastDemo ;
|
|
SubInclude TOP Demos Raytracer ;
|
|
SubInclude TOP Demos SimplexDemo ;
|