summaryrefslogtreecommitdiff
path: root/clutter/tests/performance/meson.build
blob: 1a6009bd4df437cd5c6acf20383cd5c93620ecf6 (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
clutter_tests_performance_c_args = [
  '-DTESTS_DATA_DIR="@0@"'.format(clutter_tests_interactive_srcdir),
  '-DG_DISABLE_SINGLE_INCLUDES',
  '-DGLIB_DISABLE_DEPRECATION_WARNINGS',
  '-DCOGL_DISABLE_DEPRECATION_WARNINGS',
  '-DCLUTTER_DISABLE_DEPRECATION_WARNINGS',
]

clutter_tests_performance_c_args += clutter_debug_c_args

clutter_tests_performance_tests = [
  'test-picking',
  'test-text-perf',
  'test-state',
  'test-state-interactive',
  'test-state-hidden',
  'test-state-mini',
  'test-state-pick',
]

foreach test : clutter_tests_performance_tests
  executable(test,
    sources: [
      '@0@.c'.format(test),
      'test-common.h',
    ],
    include_directories: clutter_includes,
    c_args: clutter_tests_performance_c_args,
    dependencies: [
      clutter_deps,
      libmutter_clutter_dep,
    ],
    install: false,
  )
endforeach