1
ector_deps = [eina, emile, eet, eo, efl, draw]
2
ector_pub_deps = [eina, efl]
3
ector_ext_deps = [triangulator, freetype, draw_without_deps, m]
10
# nothing for now ector stays only intree
15
'ector_gl_internal.h',
17
'ector_renderer_shape.c',
18
'ector_renderer_image.c',
20
'ector_renderer_gradient.c',
21
'ector_renderer_gradient_radial.c',
22
'ector_renderer_gradient_linear.c'
29
'ector_renderer_shape.eo',
30
'ector_renderer_image.eo',
31
'ector_renderer_gradient.eo',
32
'ector_renderer_gradient_radial.eo',
33
'ector_renderer_gradient_linear.eo'
36
ector_pub_eo_files = pub_eo_files
38
foreach eo_file : pub_eo_files
39
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
41
output : [eo_file + '.h'],
42
depfile : eo_file + '.d',
44
install_dir : dir_package_include,
45
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
46
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
47
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
48
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
53
eolian_include_directories += ['-I', meson.current_source_dir()]
62
# Only enable that again when the namespace problems are fixed. ref T8648
64
#if get_option('install-eo-files')
65
# install_data(ector_pub_eo_files + pub_eo_types_files,
66
# install_dir: join_paths(eolian_include_dir, package_version_name)
70
foreach eo_file : pub_eo_types_files
71
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
73
output : [eo_file + '.h'],
74
depfile : eo_file + '.d',
76
install_dir : dir_package_include,
77
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
78
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
79
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
86
ector_opt_lib_dep = declare_dependency(
87
link_with: ector_opt_lib
90
ector_ext_deps += ector_opt_lib_dep
92
ector_lib = library('ector',
93
ector_src, pub_eo_file_target,
94
c_args : [package_c_args, '-DECTOR_BUILD'],
95
dependencies: ector_pub_deps + ector_ext_deps + ector_deps,
96
include_directories : config_dir,
98
version : meson.project_version(),
101
ector = declare_dependency(
102
include_directories: [include_directories('.')],
103
link_with: ector_lib,
104
sources : pub_eo_file_target + priv_eo_file_target,
105
dependencies: ector_pub_deps,
108
install_headers(ector_header_src,
109
install_dir : dir_package_include,