clutter_test_accessibility_common_sources = [
  'cally-examples-util.c',
  'cally-examples-util.h',
]

clutter_test_accessibility_c_args = [
  '-DPREFIXDIR="@0@"'.format(libdir),
  '-DCLUTTER_DISABLE_DEPRECATION_WARNINGS',
  '-DGLIB_DISABLE_DEPRECATION_WARNINGS',
]

clutter_test_accessibility_c_args += clutter_debug_c_args

clutter_accessibility_tests_dependencies = [
  clutter_deps,
  libmutter_clutter_dep,
]

clutter_accessibility_tests = [
  'cally-atkcomponent-example',
  'cally-atktext-example',
  'cally-atkevents-example',
  'cally-atkeditabletext-example',
  'cally-clone-example',
]

foreach test : clutter_accessibility_tests
  executable(test,
    sources: [
      clutter_test_accessibility_common_sources,
      test + '.c',
    ],
    include_directories: clutter_includes,
    c_args: clutter_test_accessibility_c_args,
    dependencies: [clutter_accessibility_tests_dependencies],
    install: false,
  )
endforeach