]> git.cworth.org Git - apitrace-tests/blob - apps/egl/gl/CMakeLists.txt
Add egl apps.
[apitrace-tests] / apps / egl / gl / CMakeLists.txt
1 include_directories(
2     ${CMAKE_CURRENT_SOURCE_DIR}/../eglut
3     ${EGL_INCLUDE_DIRS}
4     ${OPENGL_INCLUDE_PATH}
5 )
6
7 set (api egl)
8
9 set (targets
10     tri
11 )
12
13 foreach (target ${targets})
14     add_executable (${api}_${target} ${target}.c)
15     set_target_properties (${api}_${target} PROPERTIES OUTPUT_NAME ${target})
16     target_link_libraries (${api}_${target} eglut ${OPENGL_gl_LIBRARY})
17 endforeach (target)