summaryrefslogtreecommitdiff
path: root/src/examples/ecore/meson.build
blob: 7233a83b82136776456974847875995494c25a98 (plain) (blame)
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
examples = [
  'ecore_event_example_01',
  'ecore_event_example_02',
  'ecore_exe_example',
  'ecore_exe_example_child',
  'ecore_fd_handler_example',
  'ecore_file_download_example',
  'ecore_idler_example',
  'ecore_job_example',
  'ecore_pipe_gstreamer_example',
  'ecore_pipe_simple_example',
  'ecore_poller_example',
  'ecore_thread_example',
  'ecore_time_functions_example',
  'ecore_timer_example',
  'ecore_getopt_example'
]

gnutls = dependency('gnutls', required : false)
if gnutls.found()
examples += ['ecore_fd_handler_gnutls_example']
endif

foreach example : examples
  executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file, gnutls])
endforeach

examples = [
#  'ecore_audio_custom',
#  'ecore_audio_playback',
#  'ecore_audio_to_ogg',
]

foreach example : examples
  executable(example, example + '.c', dependencies: [eina, ecore, ecore_audio])
endforeach


examples = [
  'ecore_con_client_example',
  'ecore_con_client_simple_example',
  'ecore_con_lookup_example',
  'ecore_con_server_example',
  'ecore_con_server_http_example',
  'ecore_con_server_simple_example',
  'ecore_con_url_cookies_example',
  'ecore_con_url_download_example',
  'ecore_con_url_headers_example',
  'ecore_client_bench',
  'ecore_server_bench',
]

foreach example : examples
  executable(example, example + '.c', dependencies: [eina, ecore, ecore_con])
endforeach

examples = [
  'ecore_animator_example',
  'ecore_evas_basics_example',
  'ecore_evas_buffer_example_01',
  'ecore_evas_buffer_example_02',
  'ecore_evas_callbacks',
  'ecore_evas_ews_example',
  'ecore_evas_object_example',
  'ecore_evas_window_sizes_example',
]

foreach example : examples
  executable(example, example + '.c',
    dependencies: [eina, ecore_evas],
    c_args : [
      '-DPACKAGE_EXAMPLES_DIR="'+meson.current_source_dir()+'"']
  )
endforeach

#  'ecore_imf_example',