summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-19 21:37:37 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-21 16:19:36 +0200
commitc0bc4fd5a481057f26aa6472c8256fd029a6259f (patch)
tree91de2ccfb06b69693499a920aac6d1a86e9ac7dc
parent66d11fed00309009493d3549b29295c2ac695aeb (diff)
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.build19
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 = [
23 'eina_types.eot' 23 'eina_types.eot'
24] 24]
25 25
26eo_header = ['Eo.h']
27
28pub_eo_file_target = [] 26pub_eo_file_target = []
29priv_eo_file_target = [] 27priv_eo_file_target = []
28
29foreach eo_file : pub_eo_types_files
30 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
31 input : eo_file,
32 output : [eo_file + '.h'],
33 depfile : eo_file + '.d',
34 install : true,
35 install_dir : dir_package_include,
36 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
37 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
38 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
39 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
40 '-gchd', '@INPUT@'])
41endforeach
42
43eo_header = ['Eo.h']
44
30foreach eo_file : pub_eo_files 45foreach eo_file : pub_eo_files
31 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 46 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
32 input : eo_file, 47 input : eo_file,