gl test: Fix GL dependencies for GL kit test apps
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
@@ -9,7 +10,15 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
UsePublicHeaders opengl ;
|
||||
}
|
||||
|
||||
SimpleTest GLGears :
|
||||
|
||||
local sources =
|
||||
gears.c
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||
|
||||
|
||||
SimpleTest GLGears :
|
||||
$(sources)
|
||||
: be GL
|
||||
;
|
||||
|
||||
@@ -10,8 +10,14 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
UsePublicHeaders opengl ;
|
||||
}
|
||||
|
||||
SimpleTest GLDirectMode :
|
||||
local sources =
|
||||
GLDirectMode.cpp
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||
|
||||
SimpleTest GLDirectMode :
|
||||
$(sources)
|
||||
: be game GL $(TARGET_LIBSUPC++)
|
||||
: GLDirectMode.rdef
|
||||
;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src tests kits opengl glsl ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
@@ -9,10 +10,16 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
UsePublicHeaders opengl ;
|
||||
}
|
||||
|
||||
StaticLibrary libshaderutil.a :
|
||||
local shadersources =
|
||||
shaderutil.c
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(shadersources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||
|
||||
StaticLibrary libshaderutil.a :
|
||||
$(shadersources)
|
||||
;
|
||||
|
||||
SimpleTest brick :
|
||||
brick.c
|
||||
: libshaderutil.a be GL
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src tests kits opengl glut game_mode ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
@@ -9,7 +10,13 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
UsePublicHeaders opengl ;
|
||||
}
|
||||
|
||||
SimpleTest GLUTGameMode :
|
||||
local sources =
|
||||
game_mode.c
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||
|
||||
SimpleTest GLUTGameMode :
|
||||
$(sources)
|
||||
: be GL
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user