File: meson.build

package info (click to toggle)
gxr 0.15.1-2~bpo10+1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 1,728 kB
  • sloc: ansic: 15,256; sh: 72; xml: 71; awk: 35; makefile: 12
file content (106 lines) | stat: -rw-r--r-- 2,647 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# gxr samples

executable(
  'overlay_pixbuf', ['overlay_pixbuf.c', test_resources],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

executable(
  'overlay_multi', ['overlay_multi.c', test_resources],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

executable(
  'overlay_multi_stresstest', ['overlay_multi_stresstest.c', test_resources],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

executable(
  'actions', ['actions.c', test_resources],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

executable(
  'overlay_cairo', ['overlay_cairo.c'],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

executable(
  'overlay_cairo_animation', ['overlay_cairo_animation.c'],
  dependencies: gxr_deps,
  link_with: gxr_lib,
  include_directories: gxr_inc,
  install: false)

if gtk3_dep.found()
  executable(
    'overlay_gtk', ['overlay_gtk.c'],
    dependencies: gxr_deps + [gtk3_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)

  executable(
    'keyboard',
    ['keyboard.c', test_resources],
    dependencies: gxr_deps + [gtk3_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)
endif

if x11_dep.found() and xtst_dep.found()
  executable(
    'x_keyboard_synthesis',
    ['x_keyboard_synthesis.c', test_resources],
    dependencies: gxr_deps + [x11_dep, xtst_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)
endif

if libdrm_amdgpu_dep.found()
  executable(
    'overlay_dmabuf', ['overlay_dmabuf.c'],
    dependencies: gxr_deps + [libdrm_dep, libdrm_amdgpu_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)
endif

if 'openxr' in backends
  executable(
    'parse_manifest', ['parse_manifest.c', test_resources],
    dependencies: gxr_deps,
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)
endif

if glew_dep.found() and glfw_dep.found() and egl_dep.found()
  executable(
    'overlay_mesa_dmabuf', ['overlay_mesa_dmabuf.c', test_resources],
    dependencies: gxr_deps + [glew_dep, glfw_dep, egl_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)

  executable(
    'overlay_external_memory', ['overlay_external_memory.c', test_resources],
    dependencies: gxr_deps + [glew_dep, glfw_dep, egl_dep],
    link_with: gxr_lib,
    include_directories: gxr_inc,
    install: false)
endif

subdir('cube')