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

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

piglit_add_executable (arb_uniform_buffer_object-bindbuffer-general-point bindbuffer-general-point.c)
piglit_add_executable (arb_uniform_buffer_object-buffer-targets buffer-targets.c)
piglit_add_executable (arb_uniform_buffer_object-bufferstorage bufferstorage.c)
piglit_add_executable (arb_uniform_buffer_object-deletebuffers deletebuffers.c)
piglit_add_executable (arb_uniform_buffer_object-dlist dlist.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformblockiv-uniform-block-data-size getactiveuniformblockiv-uniform-block-data-size.c uniform-types.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformblockname getactiveuniformblockname.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformname getactiveuniformname.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformsiv-uniform-array-stride getactiveuniformsiv-uniform-array-stride.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformsiv-uniform-block-index getactiveuniformsiv-uniform-block-index.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformsiv-uniform-matrix-stride getactiveuniformsiv-uniform-matrix-stride.c)
piglit_add_executable (arb_uniform_buffer_object-getactiveuniformsiv-uniform-type getactiveuniformsiv-uniform-type.c uniform-types.c)
piglit_add_executable (arb_uniform_buffer_object-getintegeri_v getintegeri_v.c)
piglit_add_executable (arb_uniform_buffer_object-getprogramiv getprogramiv.c)
piglit_add_executable (arb_uniform_buffer_object-getuniformblockindex getuniformblockindex.c)
piglit_add_executable (arb_uniform_buffer_object-getuniformindices getuniformindices.c)
piglit_add_executable (arb_uniform_buffer_object-getuniformlocation getuniformlocation.c)
piglit_add_executable (arb_uniform_buffer_object-layout-std140-base-size-and-alignment layout-std140-base-size-and-alignment.c uniform-types.c)
piglit_add_executable (arb_uniform_buffer_object-link-mismatch-blocks link-mismatch-blocks.c)
piglit_add_executable (arb_uniform_buffer_object-maxblocks maxblocks.c)
piglit_add_executable (arb_uniform_buffer_object-maxuniformblocksize maxuniformblocksize.c)
piglit_add_executable (arb_uniform_buffer_object-minmax minmax.c)
piglit_add_executable (arb_uniform_buffer_object-negative-bindbuffer-index negative-bindbuffer-index.c)
piglit_add_executable (arb_uniform_buffer_object-negative-bindbuffer-target negative-bindbuffer-target.c)
piglit_add_executable (arb_uniform_buffer_object-negative-bindbufferrange-range negative-bindbufferrange-range.c)
piglit_add_executable (arb_uniform_buffer_object-negative-getactiveuniformblockiv negative-getactiveuniformblockiv.c)
piglit_add_executable (arb_uniform_buffer_object-negative-getactiveuniformsiv negative-getactiveuniformsiv.c)
piglit_add_executable (arb_uniform_buffer_object-referenced-by-shader referenced-by-shader.c)
piglit_add_executable (arb_uniform_buffer_object-rendering rendering.c)
piglit_add_executable (arb_uniform_buffer_object-rendering-array rendering-array.c)
piglit_add_executable (arb_uniform_buffer_object-rendering-dsa rendering-dsa.c)
piglit_add_executable (arb_uniform_buffer_object-row-major row-major.c)
piglit_add_executable (arb_uniform_buffer_object-uniformblockbinding uniformblockbinding.c)

# vim: ft=cmake:
