xref: /haiku/src/tests/kits/opengl/direct_mode/Jamfile (revision 225b6382637a7346d5378ee45a6581b4e2616055)
1SubDir HAIKU_TOP src tests kits opengl direct_mode ;
2UseBuildFeatureHeaders mesa ;
3
4SetSubDirSupportedPlatformsBeOSCompatible ;
5
6if $(TARGET_PLATFORM) != haiku {
7	# Needed for <GL/glut.h>, not present in R5.
8	# Unfortunately we also get the other headers there,
9	# that we don't really want.
10	UsePublicHeaders opengl ;
11}
12
13local sources =
14	GLDirectMode.cpp
15;
16
17Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
18
19SimpleTest GLDirectMode :
20	$(sources)
21	: be game GL $(TARGET_LIBSUPC++)
22	: GLDirectMode.rdef
23;
24