xref: /haiku/src/tests/kits/opengl/direct_mode/Jamfile (revision 204dee708a999d5a71d0cb9497650ee7cef85d0a)
1SubDir HAIKU_TOP src tests kits opengl direct_mode ;
2SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
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) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
18
19SimpleTest GLDirectMode :
20	$(sources)
21	: be game GL $(TARGET_LIBSUPC++)
22	: GLDirectMode.rdef
23;
24