blob: 1dd4299188372c81c7d50a81cdb1ba64649290b2 (
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
|
mods = []
if get_option('ecore_x')
mods +=['ibus', 'xim']
if dependency('scim-1.0', required : false).found()
mods += ['scim']
endif
endif
if get_option('ecore_wl2')
mods += ['wayland']
endif
foreach mod_name : mods
mod_src = []
mod_deps = []
subdir(mod_name)
config_h.set('BUILD_ECORE_IMF_'+mod_name.to_upper(), '1')
mod_install_dir = join_paths(dir_package_modules, mod_name, module_arch)
shared_module(mod_name,
mod_src,
dependencies: mod_deps,
install: true,
install_dir : mod_install_dir
)
module_files += join_paths(mod_install_dir, 'lib'+mod_name+sys_lib_extension)
endforeach
|