]> git.cworth.org Git - apitrace-tests/blob - apps/egl/gles1/CMakeLists.txt
Add test for GL_EXT_debug_marker.
[apitrace-tests] / apps / egl / gles1 / CMakeLists.txt
1 include_directories(
2     ${CMAKE_CURRENT_SOURCE_DIR}/../eglut
3     ${EGL_INCLUDE_DIRS}
4     ${GLESV1_INCLUDE_DIRS}
5 )
6
7 set (api egl_gles1)
8
9 set (targets
10     clear
11     tri
12     debug_marker
13 )
14
15 foreach (target ${targets})
16     add_executable (${api}_${target} ${target}.c)
17     set_target_properties (${api}_${target} PROPERTIES OUTPUT_NAME ${target})
18     target_link_libraries (${api}_${target} eglut ${GLESV1_LIBRARIES})
19
20     
21     if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${target}.ref.txt)
22         add_app_test(
23             NAME ${api}_${target}
24             TARGET ${api}_${target}
25             REF ${target}.ref.txt
26         )
27     endif ()
28 endforeach (target)