Revert "wglgears: show stereo-option in usage"
[mesa-demos.git] / src / trivial / CMakeLists.txt
blob04f739b168f4af1ceec640964f3a4b43885c6f5a
1 include_directories (
2         ${CMAKE_SOURCE_DIR}/src/util
3         ${OPENGL_INCLUDE_PATH}
4         ${GLUT_INCLUDE_DIR}
5         ${GLEW_INCLUDE_DIR}
8 link_directories (
9         ${CMAKE_SOURCE_DIR}/src/util
12 link_libraries (
13         util
14         ${OPENGL_gl_LIBRARY}
15         ${OPENGL_glu_LIBRARY}
16         ${GLUT_glut_LIBRARY}
17         ${GLEW_glew_LIBRARY}
20 set (subdir trivial)
22 set (targets
23         clear-color
24         clear-fbo
25         clear-fbo-scissor
26         clear-fbo-tex
27         clear-random
28         clear-repeat
29         clear-scissor
30         clear-undefined
31         createwin
32         dlist-begin-call-end
33         dlist-dangling
34         dlist-degenerate
35         dlist-edgeflag
36         dlist-edgeflag-dangling
37         dlist-flat-tri
38         dlist-mat-tri
39         dlist-recursive-call
40         dlist-tri-flat-tri
41         dlist-tri-mat-tri
42         draw2arrays
43         drawarrays
44         drawelements
45         drawelements-large
46         drawrange
47         flat-clip
48         fs-tri
49         line
50         line-clip
51         line-cull
52         line-flat
53         lineloop
54         lineloop-clip
55         lineloop-elts
56         line-smooth
57         line-stipple-wide
58         linestrip
59         linestrip-clip
60         linestrip-flat-stipple
61         linestrip-stipple
62         linestrip-stipple-wide
63         line-userclip
64         line-userclip-clip
65         line-userclip-nop
66         line-userclip-nop-clip
67         line-wide
68         line-xor
69         long-fixed-func
70         pgon-mode
71         point
72         point-clip
73         point-param
74         point-sprite
75         point-wide
76         point-wide-smooth
77         poly
78         poly-flat
79         poly-flat-clip
80         poly-flat-unfilled-clip
81         poly-unfilled
82         quad
83         quad-clip-all-vertices
84         quad-clip
85         quad-clip-nearplane
86         quad-degenerate
87         quad-flat
88         quad-offset-factor
89         quad-offset-unfilled
90         quad-offset-units
91         quads
92         quadstrip
93         quadstrip-clip
94         quadstrip-cont
95         quadstrip-flat
96         quad-tex-2d
97         quad-tex-3d
98         quad-tex-alpha
99         quad-tex-pbo
100         quad-tex-sub
101         quad-unfilled
102         quad-unfilled-clip
103         quad-unfilled-stipple
104         readpixels
105         sub-tex
106         tex-quads
107         tri-2101010
108         tri-2101010-dlist
109         tri-alpha
110         tri-alpha-tex
111         tri-array-interleaved
112         tri-blend
113         tri-blend-color
114         tri-blend-max
115         tri-blend-min
116         tri-blend-revsub
117         tri-blend-sub
118         tri
119         tri-clear
120         tri-clip
121         tri-cull-both
122         tri-cull
123         tri-dlist
124         tri-edgeflag
125         tri-edgeflag-array
126         tri-edgeflag-pv
127         trifan
128         trifan-flat
129         trifan-flat-clip
130         trifan-flat-unfilled-clip
131         trifan-unfilled
132         tri-fbo
133         tri-fbo-tex
134         tri-fbo-tex-mip
135         tri-flat
136         tri-flat-clip
137         tri-fog
138         tri-fp
139         tri-fp-const-imm
140         tri-lit
141         tri-lit-material
142         tri-logicop-none
143         tri-logicop-xor
144         tri-mask-tri
145         tri-multitex-vbo
146         tri-orig
147         tri-point-line-clipped
148         tri-query
149         tri-repeat
150         tri-rotate
151         tri-scissor-tri
152         tri-square
153         tri-stencil
154         tri-stipple
155         tristrip
156         tristrip-clip
157         tristrip-flat
158         tri-tex-1d
159         tri-tex-3d
160         tri-tex
161         tri-tex-stipple
162         tri-tri
163         tri-unfilled
164         tri-unfilled-clip
165         tri-unfilled-edgeflag
166         tri-unfilled-fog
167         tri-unfilled-point
168         tri-unfilled-smooth
169         tri-unfilled-tri
170         tri-unfilled-tri-lit
171         tri-unfilled-userclip
172         tri-unfilled-userclip-stip
173         tri-userclip
174         tri-viewport
175         tri-z-9
176         tri-z
177         tri-z-clip
178         tri-z-eq
179         vbo-drawarrays
180         vbo-drawarrays-2101010
181         vbo-drawelements
182         vbo-drawrange
183         vbo-noninterleaved
184         vbo-tri
185         vp-array
186         vp-array-hf
187         vp-array-int
188         vp-clip
189         vp-line-clip
190         vp-tri
191         vp-tri-cb
192         vp-tri-cb-pos
193         vp-tri-cb-tex
194         vp-tri-imm
195         vp-tri-invariant
196         vp-tri-swap
197         vp-tri-tex
198         vp-unfilled
201 foreach (target ${targets})
202         add_executable (${subdir}_${target} ${target}.c)
203         set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
204         install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
205 endforeach (target)