aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glx_arb_create_context/CMakeLists.gl.txt
blob: 3b70207c6407d6a00faaf32d1d3275f44a0dd3b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${GLUT_INCLUDE_DIR}
	${piglit_SOURCE_DIR}/tests/util
)

link_libraries (
	piglitglxutil
	${OPENGL_gl_LIBRARY}
	${OPENGL_glu_LIBRARY}
	${GLUT_glut_LIBRARY}
	${X11_X11_LIB}
)

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	add_executable (glx-create-context-default-major-version default-major-version.c common.c)
	add_executable (glx-create-context-default-minor-version default-minor-version.c common.c)
	add_executable (glx-create-context-invalid-attribute invalid-attribute.c common.c)
	add_executable (glx-create-context-invalid-flag invalid-flag.c common.c)
	add_executable (glx-create-context-invalid-flag-forward-compatible invalid-flag-forward-compatible.c common.c)
	add_executable (glx-create-context-invalid-gl-version invalid-gl-version.c common.c)
	add_executable (glx-create-context-invalid-render-type invalid-render-type.c common.c)
	add_executable (glx-create-context-invalid-render-type-color-index invalid-render-type-color-index.c common.c)
	add_executable (glx-create-context-valid-attribute-empty valid-attribute-empty.c common.c)
	add_executable (glx-create-context-valid-attribute-null valid-attribute-null.c common.c)
	add_executable (glx-create-context-valid-flag-forward-compatible valid-flag-forward-compatible.c common.c)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

# vim: ft=cmake: