CMakeLists.gl.txt 6.79 KB
Newer Older
1 2

include_directories(
3
	${GLEXT_INCLUDE_DIR}
4 5 6 7
	${OPENGL_INCLUDE_PATH}
)

link_libraries (
8
	piglitutil_${piglit_target_api}
9 10 11
	${OPENGL_gl_LIBRARY}
)

12
if(NOT PIGLIT_USE_WAFFLE)
13 14
	# This test uses glutCreateSubWindow.
	piglit_add_executable (windowoverlap windowoverlap.c)
15
endif(NOT PIGLIT_USE_WAFFLE)
16

17
piglit_add_executable (attribs attribs.c)
18 19 20 21 22 23
piglit_add_executable (array-stride array-stride.c)
piglit_add_executable (bgra-vert-attrib-pointer bgra-vert-attrib-pointer.c)
piglit_add_executable (bgra-sec-color-pointer bgra-sec-color-pointer.c)
piglit_add_executable (blendminmax blendminmax.c)
piglit_add_executable (blendsquare blendsquare.c)
piglit_add_executable (clear-varray-2.0 clear-varray-2.0.c)
24
piglit_add_executable (clipflat clipflat.c)
25
piglit_add_executable (copy-pixels copy-pixels.c)
26 27 28
piglit_add_executable (copypixels-sync copypixels-sync.c)
piglit_add_executable (copypixels-draw-sync copypixels-draw-sync.c)
piglit_add_executable (depth-clamp-range depth-clamp-range.c)
29
piglit_add_executable (degenerate-prims degenerate-prims.c)
30
piglit_add_executable (dlist-clear dlist-clear.c)
31
piglit_add_executable (dlist-color-material dlist-color-material.c)
32 33 34 35 36 37 38 39 40 41 42 43 44
piglit_add_executable (dlist-fdo3129-01 dlist-fdo3129-01.c)
piglit_add_executable (dlist-fdo3129-02 dlist-fdo3129-02.c)
piglit_add_executable (dlist-fdo31590 dlist-fdo31590.c)
piglit_add_executable (depth_clamp depth_clamp.c)
piglit_add_executable (depthfunc depthfunc.c)
piglit_add_executable (depthrange-clear depthrange-clear.c)
piglit_add_executable (draw-arrays-colormaterial draw-arrays-colormaterial.c)
piglit_add_executable (draw-batch draw-batch.c)
piglit_add_executable (draw-copypixels-sync draw-copypixels-sync.c)
piglit_add_executable (draw-elements draw-elements.c)
piglit_add_executable (draw-elements-vs-inputs draw-elements-vs-inputs.c)
piglit_add_executable (draw-pixel-with-texture draw-pixel-with-texture.c)
piglit_add_executable (draw-sync draw-sync.c)
45
piglit_add_executable (draw-pixels draw-pixels.c)
46 47
piglit_add_executable (draw-vertices draw-vertices.c)
piglit_add_executable (draw-vertices-half-float draw-vertices-half-float.c)
48
piglit_add_executable (drawpix-z drawpix-z.c)
49
piglit_add_executable (fog-modes fog-modes.c)
50 51 52
IF (UNIX)
	target_link_libraries (fog-modes m)
ENDIF (UNIX)
53 54
piglit_add_executable (fragment-center fragment-center.c)
piglit_add_executable (framebuffer-srgb framebuffer-srgb.c)
55 56 57
IF (UNIX)
	target_link_libraries (framebuffer-srgb m)
ENDIF (UNIX)
58 59 60
piglit_add_executable (getactiveattrib getactiveattrib.c)
piglit_add_executable (geterror-inside-begin geterror-inside-begin.c)
piglit_add_executable (geterror-invalid-enum geterror-invalid-enum.c)
61
piglit_add_executable (glinfo glinfo.c)
62 63
piglit_add_executable (gl30basic gl30basic.c)
piglit_add_executable (hiz hiz.c)
64 65 66
if (UNIX)
	target_link_libraries (hiz m)
endif (UNIX)
67
piglit_add_executable (early-z early-z.c)
68
piglit_add_executable (idtech-extension-strings idtech-extension-strings.c)
69 70 71 72
piglit_add_executable (infinite-spot-light infinite-spot-light.c)
piglit_add_executable (isbufferobj isbufferobj.c)
piglit_add_executable (linestipple linestipple.c)
piglit_add_executable (line-aa-width line-aa-width.c)
73 74 75
IF (UNIX)
	target_link_libraries (line-aa-width m)
ENDIF (UNIX)
76
piglit_add_executable (line-flat-clip-color line-flat-clip-color.c)
77
piglit_add_executable (lineloop lineloop.c)
78
piglit_add_executable (longprim longprim.c)
79
piglit_add_executable (masked-clear masked-clear.c)
80
piglit_add_executable (object-namespace-pollution object-namespace-pollution.c)
81 82 83 84 85 86 87 88
piglit_add_executable (pos-array pos-array.c)
piglit_add_executable (pbo-drawpixels pbo-drawpixels.c)
piglit_add_executable (pbo-read-argb8888 pbo-read-argb8888.c)
piglit_add_executable (pbo-readpixels-small pbo-readpixels-small.c)
piglit_add_executable (pbo-teximage pbo-teximage.c)
piglit_add_executable (pbo-teximage-tiling pbo-teximage-tiling.c)
piglit_add_executable (pbo-teximage-tiling-2 pbo-teximage-tiling-2.c)
piglit_add_executable (point-line-no-cull point-line-no-cull.c)
89
piglit_add_executable (point-vertex-id point-vertex-id.c)
90
piglit_add_executable (polygon-mode-offset polygon-mode-offset.c)
91
piglit_add_executable (polygon-mode-facing polygon-mode-facing.c)
92
piglit_add_executable (polygon-mode polygon-mode.c)
93
piglit_add_executable (polygon-offset polygon-offset.c)
94
piglit_add_executable (ppgtt_memory_alignment ppgtt_memory_alignment.c)
95
piglit_add_executable (primitive-restart primitive-restart.c)
96
piglit_add_executable (primitive-restart-draw-mode primitive-restart-draw-mode.c)
97
piglit_add_executable (provoking-vertex provoking-vertex.c)
98
piglit_add_executable (push-pop-texture-state push-pop-texture-state.c)
99 100
piglit_add_executable (oes-read-format oes-read-format.c)
piglit_add_executable (read-front read-front.c)
101
piglit_add_executable (readpix-z readpix-z.c)
102 103
piglit_add_executable (roundmode-getintegerv roundmode-getintegerv.c)
piglit_add_executable (roundmode-pixelstore roundmode-pixelstore.c)
104 105 106 107 108
piglit_add_executable (select select.c)
piglit_add_executable (stencil-drawpixels stencil-drawpixels.c)
piglit_add_executable (stencil-twoside stencil-twoside.c)
piglit_add_executable (stencil-wrap stencil-wrap.c)
piglit_add_executable (sync_api sync_api.c)
109
piglit_add_executable (tex-errors tex-errors.c)
110 111 112
piglit_add_executable (texgen texgen.c)
piglit_add_executable (texunits texunits.c)
piglit_add_executable (timer_query timer_query.c)
113
piglit_add_executable (triangle-rasterization triangle-rasterization.cpp)
114
piglit_add_executable (triangle-rasterization-overdraw triangle-rasterization-overdraw.cpp)
115 116 117 118 119 120 121 122
piglit_add_executable (two-sided-lighting two-sided-lighting.c)
piglit_add_executable (two-sided-lighting-separate-specular two-sided-lighting-separate-specular.c)
piglit_add_executable (user-clip user-clip.c)
piglit_add_executable (varray-disabled varray-disabled.c)
piglit_add_executable (vao-01 vao-01.c)
piglit_add_executable (vao-02 vao-02.c)
piglit_add_executable (vao-element-array-buffer vao-element-array-buffer.c)
piglit_add_executable (vbo-map-remap vbo-map-remap.c)
123
piglit_add_executable (vbo-map-unsync vbo-map-unsync.c)
124 125 126 127 128 129 130 131 132 133
piglit_add_executable (vbo-bufferdata vbo-bufferdata.c)
piglit_add_executable (vbo-subdata-zero vbo-subdata-zero.c)
piglit_add_executable (vbo-subdata-sync vbo-subdata-sync.c)
piglit_add_executable (object_purgeable-api-pbo object_purgeable-api-pbo.c object_purgeable.c)
piglit_add_executable (object_purgeable-api-texture object_purgeable-api-texture.c object_purgeable.c)
piglit_add_executable (object_purgeable-api-vbo object_purgeable-api-vbo.c object_purgeable.c)
piglit_add_executable (occlusion-query-discard occlusion-query-discard.c)
piglit_add_executable (quad-invariance quad-invariance.c)
piglit_add_executable (clear-accum clear-accum.c)
piglit_add_executable (vs-point_size-zero vs-point_size-zero.c)
134
piglit_add_executable (triangle-guardband-viewport triangle-guardband-viewport.c)
135
piglit_add_executable (teximage-scale-bias teximage-scale-bias.c)
136 137

# vim: ft=cmake: