egl: match geometry position of glxgears
[mesa-demos.git] / src / perf / CMakeLists.txt
blob684aa8505db8017827e6a5b0dc54aa6f0899f402
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 perf)
22 set (targets
23         copytex
24         drawoverhead
25         fbobind
26         fill
27         genmipmap
28         readpixels
29         swapbuffers
30         teximage
31         vbo
32         vertexrate
35 foreach (target ${targets})
36         add_executable (${subdir}_${target} ${target}.c common.c glmain.c)
37         set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
38         install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
39 endforeach (target)
41 add_executable (glsl-compile-time glsl-compile-time.c)
42 install (TARGETS glsl-compile-time DESTINATION ${subdir})