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_shader_atomic_counters-active-counters active-counters.c common.c)
piglit_add_executable (arb_shader_atomic_counters-array-indexing array-indexing.c common.c)
piglit_add_executable (arb_shader_atomic_counters-buffer-binding buffer-binding.c common.c)
piglit_add_executable (arb_shader_atomic_counters-default-partition default-partition.c common.c)
piglit_add_executable (arb_shader_atomic_counters-fragment-discard fragment-discard.c common.c)
piglit_add_executable (arb_shader_atomic_counters-function-argument function-argument.c common.c)
piglit_add_executable (arb_shader_atomic_counters-max-counters max-counters.c common.c)
piglit_add_executable (arb_shader_atomic_counters-minmax minmax.c common.c)
piglit_add_executable (arb_shader_atomic_counters-multiple-defs multiple-defs.c common.c)
piglit_add_executable (arb_shader_atomic_counters-semantics semantics.c common.c)
piglit_add_executable (arb_shader_atomic_counters-unique-id unique-id.c common.c)
piglit_add_executable (arb_shader_atomic_counters-unused-result unused-result.c common.c)
piglit_add_executable (arb_shader_atomic_counters-respecify-buffer respecify-buffer.c)

# vim: ft=cmake:
