SubDir TOP Demos OpenGL ; if $(GLUT.AVAILABLE) = "yes" { Description bulletopenglsupport : "Bullet OpenGL support" ; Library bulletopenglsupport : [ Wildcard *.h *.cpp ] : noinstall ; CFlags bulletopenglsupport : [ FIncludes $(TOP)/Extras/ConvexHull ] ; MsvcIncDirs bulletopenglsupport : "../../Extras/ConvexHull" ; bulletopenglsupport.CFLAGS = [ FIncludes $(TOP)/Extras/ConvexHull ] ; #same for msvcgen MsvcGenConfig bulletopenglsupport.INCDIRS : $(TOP)/Extras/ConvexHull ; LibDepends bulletopenglsupport : bulletdynamics convexhull ; ExternalLibs bulletopenglsupport : GLUT ; }