created Jamfile for COLLADA_COM & LibXML, added LibXML in it's own location under Extras
libxml doesn't compile with jam yet, C sourcecode versus C++?
This commit is contained in:
164
Demos/Jamfile
164
Demos/Jamfile
@@ -1,77 +1,87 @@
|
||||
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 $(<) : 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
|
||||
{
|
||||
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 BasicSample ;
|
||||
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 EPAPenDepthDemo ;
|
||||
SubInclude TOP Demos Raytracer ;
|
||||
SubInclude TOP Demos SimplexDemo ;
|
||||
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 BasicSample ;
|
||||
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 EPAPenDepthDemo ;
|
||||
SubInclude TOP Demos Raytracer ;
|
||||
SubInclude TOP Demos SimplexDemo ;
|
||||
|
||||
Reference in New Issue
Block a user