summaryrefslogtreecommitdiff
path: root/tests/fbo/CMakeLists.txt
blob: 38c95c8f2bcca6ebc4d6ce56643e5246b9329454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

include_directories(
	${OPENGL_INCLUDE_PATH}
	${GLUT_INCLUDE_DIR}
	${piglit_SOURCE_DIR}/tests/mesa/util
	${piglit_SOURCE_DIR}/tests/util
)

link_directories (
	${piglit_SOURCE_DIR}/tests/mesa/util
	${piglit_SOURCE_DIR}/tests/util
)

link_libraries (
	piglitutil
	${OPENGL_gl_LIBRARY}
	${OPENGL_glu_LIBRARY}
	${GLUT_glut_LIBRARY}
	${TIFF_LIBRARY}
)

add_executable (fbo-1d fbo-1d.c)
add_executable (fbo-depth fbo-depth.c)
add_executable (fbo-depth-sample-compare fbo-depth-sample-compare.c)
add_executable (fbo-depthtex fbo-depthtex.c)
add_executable (fbo-3d fbo-3d.c)
add_executable (fbo-alpha fbo-alpha.c)
add_executable (fbo-luminance-alpha fbo-luminance-alpha.c)
add_executable (fbo-blit fbo-blit.c)
add_executable (fbo-blit-d24s8 fbo-blit-d24s8.c)
add_executable (fbo-copypix fbo-copypix.c)
add_executable (fbo-readdrawpix fbo-readdrawpix.c)
add_executable (fbo-clearmipmap fbo-clearmipmap.c)
add_executable (fbo-clear-formats fbo-clear-formats.c)
add_executable (fbo-drawbuffers fbo-drawbuffers.c)
add_executable (fbo-drawbuffers-arbfp fbo-drawbuffers-arbfp.c)
add_executable (fbo-drawbuffers-fragcolor fbo-drawbuffers-fragcolor.c)
add_executable (fbo-drawbuffers-maxtargets fbo-drawbuffers-maxtargets.c)
add_executable (fbo-drawbuffers2-blend fbo-drawbuffers2-blend.c)
add_executable (fbo-drawbuffers2-colormask fbo-drawbuffers2-colormask.c)
add_executable (fbo-draw-buffers-blend fbo-draw-buffers-blend.c)
add_executable (fbo-flushing fbo-flushing.c)
add_executable (fbo-fragcoord fbo-fragcoord.c)
add_executable (fbo-fragcoord2 fbo-fragcoord2.c)
add_executable (fbo-generatemipmap fbo-generatemipmap.c)
add_executable (fbo-generatemipmap-filtering fbo-generatemipmap-filtering.c)
add_executable (fbo-generatemipmap-formats fbo-generatemipmap-formats.c)
add_executable (fbo-generatemipmap-scissor fbo-generatemipmap-scissor.c)
add_executable (fbo-generatemipmap-nonsquare fbo-generatemipmap-nonsquare.c)
add_executable (fbo-generatemipmap-npot fbo-generatemipmap-npot.c)
add_executable (fbo-generatemipmap-viewport fbo-generatemipmap-viewport.c)
add_executable (fbo-getframebufferattachmentparameter-01 fbo-getframebufferattachmentparameter-01.c)
add_executable (fbo-incomplete-texture-01 fbo-incomplete-texture-01.c)
add_executable (fbo-incomplete-texture-02 fbo-incomplete-texture-02.c)
add_executable (fbo-incomplete-texture-03 fbo-incomplete-texture-03.c)
add_executable (fbo-incomplete-texture-04 fbo-incomplete-texture-04.c)
add_executable (fbo-integer fbo-integer.c)
add_executable (fbo-maxsize fbo-maxsize.c)
add_executable (fbo-nodepth-test fbo-nodepth-test.c)
add_executable (fbo-nostencil-test fbo-nostencil-test.c)
add_executable (fbo-readpixels fbo-readpixels.c)
add_executable (fbo-rg fbo-rg.c)
add_executable (fbo-srgb fbo-srgb.c)
IF (UNIX)
	target_link_libraries (fbo-srgb m)
ENDIF (UNIX)
add_executable (fbo-storage-formats fbo-storage-formats.c)
add_executable (fbo-pbo-readpixels-small fbo-pbo-readpixels-small.c)
add_executable (fbo-copyteximage fbo-copyteximage.c)
add_executable (fbo-copyteximage-simple fbo-copyteximage-simple.c)
add_executable (fbo-cubemap fbo-cubemap.c)
add_executable (fbo-scissor-bitmap fbo-scissor-bitmap.c)