WIP - port to Mali EGL
[mesa-demos/mali.git] / src / redbook / CMakeLists.txt
blob37201af42068dabee8f1f70e2bcd125933530875
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 redbook)
22 set (targets
23         aaindex
24         aapoly
25         aargb
26         accanti
27         accpersp
28         alpha3D
29         alpha
30         anti
31         bezcurve
32         bezmesh
33         checker
34         clip
35         colormat
36         combiner
37         convolution
38         cube
39         cubemap
40         depthcue
41         dof
42         double
43         drawf
44         feedback
45         fog
46         fogcoord
47         fogindex
48         font
49         hello
50         histogram
51         image
52         light
53         lines
54         list
55         material
56         minmax
57         mipmap
58         model
59         movelight
60         multisamp
61         multitex
62         mvarray
63         nurbs
64         pickdepth
65         picksquare
66         plane
67         planet
68         pointp
69         polyoff
70         polys
71         quadric
72         robot
73         sccolorlight
74         scenebamb
75         scene
76         sceneflat
77         select
78         shadowmap
79         smooth
80         stencil
81         stroke
82         surface
83         surfpoints
84         teaambient
85         teapots
86         tess
87         tesswind
88         texbind
89         texgen
90         texprox
91         texsub
92         texture3d
93         texturesurf
94         torus
95         trim
96         unproject
97         varray
98         wrap
101 foreach (target ${targets})
102         add_executable (${subdir}_${target} ${target}.c)
103         set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
104         install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
105 endforeach (target)