tests/direct_mode: Fix OpenGL direct mode test build
This commit is contained in:
@@ -1,25 +1,22 @@
|
|||||||
SubDir HAIKU_TOP src tests kits opengl direct_mode ;
|
SubDir HAIKU_TOP src tests kits opengl direct_mode ;
|
||||||
UseBuildFeatureHeaders mesa ;
|
UseBuildFeatureHeaders mesa ;
|
||||||
|
UseBuildFeatureHeaders glu ;
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
|
||||||
|
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
|
||||||
# Needed for <GL/glut.h>, not present in R5.
|
|
||||||
# Unfortunately we also get the other headers there,
|
|
||||||
# that we don't really want.
|
|
||||||
UsePublicHeaders opengl ;
|
|
||||||
}
|
|
||||||
|
|
||||||
local sources =
|
local sources =
|
||||||
GLDirectMode.cpp
|
GLDirectMode.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
|
Includes [ FGristFiles $(sources) ]
|
||||||
|
:
|
||||||
|
[ BuildFeatureAttribute mesa : headers ]
|
||||||
|
[ BuildFeatureAttribute glu : headers ]
|
||||||
|
;
|
||||||
|
|
||||||
SimpleTest GLDirectMode :
|
SimpleTest GLDirectMode :
|
||||||
$(sources)
|
$(sources)
|
||||||
:
|
:
|
||||||
be game $(TARGET_LIBSUPC++)
|
be game $(TARGET_LIBSUPC++)
|
||||||
[ BuildFeatureAttribute mesa : library ]
|
[ BuildFeatureAttribute mesa : library ]
|
||||||
|
[ BuildFeatureAttribute glu : library ]
|
||||||
: GLDirectMode.rdef
|
: GLDirectMode.rdef
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user