]> git.cworth.org Git - apitrace-tests/blob - apps/gl/CMakeLists.txt
Start compiling apps for regression testing.
[apitrace-tests] / apps / gl / CMakeLists.txt
1 include_directories (
2         ${OPENGL_INCLUDE_PATH}
3         ${GLUT_INCLUDE_DIR}
4         ${GLEW_INCLUDE_DIR}
5 )
6
7 link_libraries (
8         ${GLUT_glut_LIBRARY}
9         ${GLEW_glew_LIBRARY}
10         ${OPENGL_glu_LIBRARY}
11         ${OPENGL_gl_LIBRARY}
12 )
13
14 set (subdir gl)
15
16 set (targets
17         tri
18 )
19
20 foreach (target ${targets})
21         add_executable (${subdir}_${target} ${target}.c)
22         set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
23         install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
24 endforeach (target)