WIP - port to Mali EGL
[mesa-demos/mali.git] / src / perf / CMakeLists.txt
blob68b6875d5661e35b13956c0213eca75cd19abaad
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)