aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glx_ext_import_context/CMakeLists.gl.txt
blob: 2ba2acd0f559745133940f514909c7fa4e316873 (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

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-free-context free-context.c common.c)
	add_executable (glx-get-context-id get-context-id.c common.c)
	add_executable (glx-get-current-display-ext get-current-display.c common.c)
	add_executable (glx-import-context-has-same-context-id import-context-has-same-context-id.c common.c)
	add_executable (glx-import-context-multi-process import-context-multi-process.c common.c)
	add_executable (glx-import-context-single-process import-context-single-process.c common.c)
	add_executable (glx-make-current-multi-process make-current-multi-process.c common.c)
	add_executable (glx-make-current-single-process make-current-single-process.c common.c)
	add_executable (glx-query-context-info-ext query-context-info.c common.c)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

# vim: ft=cmake: