diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-04-19 21:37:37 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-04-21 16:19:36 +0200 |
commit | c0bc4fd5a481057f26aa6472c8256fd029a6259f (patch) | |
tree | 91de2ccfb06b69693499a920aac6d1a86e9ac7dc | |
parent | 66d11fed00309009493d3549b29295c2ac695aeb (diff) | |
download | efl-c0bc4fd5a481057f26aa6472c8256fd029a6259f.tar.gz |
eo: install eot files correctly
eina_types.eot is needed in order to fetch all needed informations.
Differential Revision: https://phab.enlightenment.org/D11736
-rw-r--r-- | src/lib/eo/meson.build | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/lib/eo/meson.build b/src/lib/eo/meson.build index abc563ff60..83eedb0de7 100644 --- a/src/lib/eo/meson.build +++ b/src/lib/eo/meson.build @@ -23,10 +23,25 @@ pub_eo_types_files = [ 'eina_types.eot' ] -eo_header = ['Eo.h'] - pub_eo_file_target = [] priv_eo_file_target = [] + +foreach eo_file : pub_eo_types_files + pub_eo_file_target += custom_target('eolian_gen_' + eo_file, + input : eo_file, + output : [eo_file + '.h'], + depfile : eo_file + '.d', + install : true, + install_dir : dir_package_include, + 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'), + '-gchd', '@INPUT@']) +endforeach + +eo_header = ['Eo.h'] + foreach eo_file : pub_eo_files pub_eo_file_target += custom_target('eolian_gen_' + eo_file, input : eo_file, |