summaryrefslogtreecommitdiff
path: root/tests/spec/glx_arb_create_context/CMakeLists.gl.txt
blob: 91a87f95dcafc6498cbd6dfff377cd3fd046244d (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

if(PIGLIT_BUILD_GLX_TESTS)
	link_libraries (
		piglitglxutil
	)
endif(PIGLIT_BUILD_GLX_TESTS)

link_libraries (
	${OPENGL_gl_LIBRARY}
)

IF(PIGLIT_BUILD_GLX_TESTS)
	include_directories(
		${GLPROTO_INCLUDE_DIRS}
	)
	link_libraries (
		${X11_X11_LIB}
	)
	piglit_add_executable (glx-create-context-core-profile core-profile.c common.c)
	piglit_add_executable (glx-create-context-current-no-framebuffer current-no-framebuffer.c common.c)
	piglit_add_executable (glx-create-context-default-major-version default-major-version.c common.c)
	piglit_add_executable (glx-create-context-default-minor-version default-minor-version.c common.c)
	piglit_add_executable (glx-create-context-ext-no-config-context ext-no-config-context.c common.c)
	piglit_add_executable (glx-create-context-indirect-es2-profile indirect-es2-profile.c common.c)
	piglit_add_executable (glx-create-context-invalid-attribute invalid-attribute.c common.c)
	piglit_add_executable (glx-create-context-invalid-es-version invalid-es-version.c common.c)
	piglit_add_executable (glx-create-context-invalid-flag invalid-flag.c common.c)
	piglit_add_executable (glx-create-context-invalid-flag-forward-compatible invalid-flag-forward-compatible.c common.c)
	piglit_add_executable (glx-create-context-invalid-gl-version invalid-gl-version.c common.c)
	piglit_add_executable (glx-create-context-invalid-profile invalid-profile.c common.c)
	piglit_add_executable (glx-create-context-invalid-render-type invalid-render-type.c common.c)
	piglit_add_executable (glx-create-context-invalid-render-type-color-index invalid-render-type-color-index.c common.c)
	piglit_add_executable (glx-create-context-invalid-reset-strategy invalid-reset-strategy.c common.c)
	piglit_add_executable (glx-create-context-pre-GL32-profile pre-GL32-profile.c common.c)
	piglit_add_executable (glx-create-context-require-robustness require-robustness.c common.c)
	piglit_add_executable (glx-create-context-valid-attribute-empty valid-attribute-empty.c common.c)
	piglit_add_executable (glx-create-context-valid-attribute-null valid-attribute-null.c common.c)
	piglit_add_executable (glx-create-context-valid-flag-forward-compatible valid-flag-forward-compatible.c common.c)
	piglit_add_executable (glx-create-context-no-error no-error.c common.c)
ENDIF(PIGLIT_BUILD_GLX_TESTS)

# vim: ft=cmake: