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-19 21:37:37 +0200
commit537fde499733ded3c0c826639eb6903eb7fe309d (patch)
treec576431639149c20386a2d25218800580479b3e9
parenta71a2863b95b3edd151394fc8ed3cbf2dc0cafd2 (diff)
eo: install eot files correctly
eina_types.eot is needed in order to fetch all needed informations.
-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,