WIP - port to Mali EGL
[mesa-demos/mali.git] / src / demos / CMakeLists.txt
blobb35fae6628f8c31f3c620ce43dd5386e399c128f
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 demos)
22 set (targets
23         arbfplight
24         arbfslight
25         arbocclude
26         arbocclude2
27         bounce
28         clearspd
29         copypix
30         cubemap
31         cuberender
32         dinoshade
33         dissolve
34         drawpix
35         engine
36         fbo_firecube
37         fbotexture
38         fire
39         fogcoord
40         fplight
41         fslight
42         gamma
43         gearbox
44         gears
45         geartrain
46         glinfo
47         gloss
48         gltestperf
49         ipers
50         isosurf
51         lodbias
52         morph3d
53         multiarb
54         normal
55         paltex
56         pixeltest
57         pointblast
58         projtex
59         ray
60         readpix
61         reflect
62         renormal
63         shadowtex
64         singlebuffer
65         spectex
66         spriteblast
67         stex3d
68         teapot
69         terrain
70         tessdemo
71         texcyl
72         texenv
73         textures
74         trispd
75         tunnel2
76         tunnel
77         vao_demo
78         winpos
81 foreach (target ${targets})
82         add_executable (${subdir}_${target} ${target}.c)
83         set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
84         install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
85 endforeach (target)
87 add_executable (rain rain.cxx particles.cxx)
89 install (TARGETS rain DESTINATION demos)