link_libraries (
	piglitutil_${piglit_target_api}
	${EGL_LDFLAGS}
)

# Tests that use ES 1.
piglit_add_executable (egl-create-context-default-major-version-gles default-major-version-gles.c common.c)
piglit_add_executable (egl-create-context-valid-attribute-empty-gles valid-attribute-empty-gles.c common.c)
piglit_add_executable (egl-create-context-valid-attribute-null-gles valid-attribute-null-gles.c common.c)

# Tests that use ES 1 and ES 2.
piglit_add_executable (egl-create-context-default-minor-version-gles default-minor-version-gles.c common.c)
piglit_add_executable (egl-create-context-invalid-attribute-gles invalid-attribute-gles.c common.c)
piglit_add_executable (egl-create-context-invalid-flag-gles invalid-flag-gles.c common.c)


# Tests that use ES 1, ES 2, and Desktop GL.
piglit_add_executable (egl-create-context-invalid-gl-version invalid-gl-version.c common.c)
piglit_add_executable (egl-create-context-verify-gl-flavor verify-gl-flavor.c common.c)
piglit_add_executable (egl-create-context-valid-flag-debug-gles valid-flag-debug.c common.c)

# Tests that use ES 2 and Desktop GL.
piglit_add_executable (egl-create-context-no-error no-error.c common.c)

# vim: ft=cmake:
