eo: install eot files correctly

eina_types.eot is needed in order to fetch all needed informations.

Differential Revision: https://phab.enlightenment.org/D11736
This commit is contained in:
Marcel Hollerbach 2020-04-19 21:37:37 +02:00
parent 66d11fed00
commit c0bc4fd5a4
1 changed files with 17 additions and 2 deletions

View File

@ -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,