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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
subdir('epp')
edje_bin_deps = [
eina, eo, efl, m,
lua, eet, evas,
ecore_file, ecore_input,
ecore_imf, ecore_imf_evas,
embryo, efreet, eio,
edje, ecore_evas,
intl,
]
edje_cc_src = [
'edje_multisense_convert.h',
'edje_cc.h',
'edje_cc.c',
'edje_cc_out.c',
'edje_cc_parse.c',
'edje_cc_mem.c',
'edje_cc_handlers.c',
'edje_cc_sources.c',
'edje_cc_script.c',
'edje_multisense_convert.c'
]
edje_cc = executable('edje_cc',
edje_cc_src,
dependencies: [edje_bin_deps, eet, ecore_evas, ecore_file],
install: true,
c_args : package_c_args,
link_args : bin_linker_args
)
asan_option =[]
if get_option('b_sanitize') == 'address'
asan_option= 'ASAN_OPTIONS=detect_leaks=0'
endif
if meson.is_cross_build()
_edje_cc = find_program('edje_cc', native: true)
edje_cc_path = _edje_cc.path()
edje_cc_exe = [_edje_cc]
edje_depends = []
else
if sys_windows == true
edje_cc_exe = [edje_cc.full_path()]
else
env = find_program('env', native: true)
edje_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', edje_cc.full_path()]
endif
edje_depends = [edje_cc, epp, evas_engine_buffer_mod, embryo_cc]
endif
edje_decc_src = [
'edje_decc.c',
'edje_decc.h',
'edje_cc_mem.c',
'edje_cc_sources.c',
]
edje_decc = executable('edje_decc',
edje_decc_src,
dependencies: [edje_bin_deps, eet, ecore_file, ecore_evas],
install: true,
c_args : package_c_args,
)
edje_player = executable('edje_player',
'edje_player.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
edje_inspector = executable('edje_inspector',
'edje_inspector.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
edje_external_inspector = executable('edje_external_inspector',
'edje_external_inspector.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
edje_codegen = executable('edje_codegen',
'edje_codegen.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
if meson.is_cross_build()
_edje_codegen = find_program('edje_codegen', native: true)
edje_codegen_path = _edje_codegen.path()
edje_codegen_exe = [_edje_codegen]
else
env = find_program('env', native: true)
edje_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', edje_codegen.full_path()]
endif
edje_pick = executable('edje_pick',
'edje_pick.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
edje_watch = executable('edje_watch',
'edje_watch.c',
dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
install: true,
c_args : package_c_args,
)
install_data('edje_recc', install_dir : dir_bin,
install_mode: 'rwxr-xr-x')
|