summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/meson.build
blob: 9854e6f94de2ca7fc68178ad9d2780413370a029 (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
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
pub_eo_files = [
  'efl_canvas_gesture_touch.eo',
  'efl_canvas_gesture.eo',
  'efl_canvas_gesture_tap.eo',
  'efl_canvas_gesture_double_tap.eo',
  'efl_canvas_gesture_triple_tap.eo',
  'efl_canvas_gesture_long_tap.eo',
  'efl_canvas_gesture_momentum.eo',
  'efl_canvas_gesture_flick.eo',
  'efl_canvas_gesture_zoom.eo',
  'efl_canvas_gesture_recognizer.eo',
  'efl_canvas_gesture_recognizer_tap.eo',
  'efl_canvas_gesture_recognizer_double_tap.eo',
  'efl_canvas_gesture_recognizer_triple_tap.eo',
  'efl_canvas_gesture_recognizer_long_tap.eo',
  'efl_canvas_gesture_recognizer_momentum.eo',
  'efl_canvas_gesture_recognizer_flick.eo',
  'efl_canvas_gesture_recognizer_zoom.eo',
  'efl_canvas_gesture_manager.eo',
  'efl_gesture_events.eo'
]

evas_gesture_eo_files = pub_eo_files
pub_evas_eo_files += files(pub_eo_files)

foreach eo_file : pub_eo_files
  pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
    input : eo_file,
    output : [eo_file + '.h'],
    depfile : eo_file + '.d',
    install : true,
    install_dir : join_paths(dir_package_include, 'gesture'),
    command : eolian_gen + ['-I', meson.current_source_dir(), eolian_include_directories,
                           '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
                           '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
                           '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
                           '-gchd', '@INPUT@'])
endforeach

pub_evas_eo_files += files(pub_eo_files)

pub_eo_types_files = [
  'efl_canvas_gesture_types.eot',
]
evas_gesture_eot_files = pub_eo_types_files

pub_evas_eot_files += files(pub_eo_types_files)


foreach eo_file : pub_eo_types_files
  pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
    input : eo_file,
    output : [eo_file + '.h'],
    depfile : eo_file + '.d',
    install : true,
    install_dir : join_paths(dir_package_include, 'gesture'),
    command : eolian_gen + ['-I', meson.current_source_dir(), eolian_include_directories,
                           '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
                           '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
                           '-ghd', '@INPUT@'])
endforeach

evas_src += files([
  'efl_canvas_gesture_touch.c',
  'efl_canvas_gesture.c',
  'efl_canvas_gesture_tap.c',
  'efl_canvas_gesture_double_tap.c',
  'efl_canvas_gesture_triple_tap.c',
  'efl_canvas_gesture_long_tap.c',
  'efl_canvas_gesture_momentum.c',
  'efl_canvas_gesture_flick.c',
  'efl_canvas_gesture_zoom.c',
  'efl_canvas_gesture_recognizer.c',
  'efl_canvas_gesture_recognizer_tap.c',
  'efl_canvas_gesture_recognizer_double_tap.c',
  'efl_canvas_gesture_recognizer_triple_tap.c',
  'efl_canvas_gesture_recognizer_long_tap.c',
  'efl_canvas_gesture_recognizer_momentum.c',
  'efl_canvas_gesture_recognizer_flick.c',
  'efl_canvas_gesture_recognizer_zoom.c',
  'efl_canvas_gesture_manager.c',
])

pub_eo_types_files = []