forked from enlightenment/efl
meson: fix installed .eo files and fix cross compile
Summary: if things are a array in a array, then flattening only seems to work when the first element is a target object. But not when the first element is then also an string, then the string in the array gets concatted and added to root array. This is a meson bug, investigation going on. Additionally, this fixes installed .eo files, as we might want to installed gesture files when we require them in other objects. Reviewers: Jaehyun_Cho, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8910
This commit is contained in:
parent
24e4881efb
commit
ee7a6c9a40
|
@ -21,6 +21,7 @@ pub_eo_files = [
|
|||
]
|
||||
|
||||
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,
|
||||
|
@ -29,7 +30,7 @@ foreach eo_file : pub_eo_files
|
|||
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,
|
||||
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'),
|
||||
|
|
Loading…
Reference in New Issue