summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/meson.build20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/lib/ecore/meson.build b/src/lib/ecore/meson.build
index 732856dd23..dbb511e2bf 100644
--- a/src/lib/ecore/meson.build
+++ b/src/lib/ecore/meson.build
@@ -12,15 +12,25 @@ pub_eo_file_target = []
12foreach eo_file : pub_legacy_eo_files 12foreach eo_file : pub_legacy_eo_files
13 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 13 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
14 input : eo_file, 14 input : eo_file,
15 output : [eo_file + '.h', eo_file + '.legacy.h',], 15 output : [eo_file + '.h'],
16 depfile : eo_file + '.d',
16 install : true, 17 install : true,
17 install_dir : dir_package_include, 18 install_dir : dir_package_include,
18 command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, 19 command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories,
19 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), 20 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
20 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), 21 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
22 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
23 '-gchd', '@INPUT@'])
24 pub_eo_file_target += custom_target('eolian_gen_legacy_' + eo_file,
25 input : eo_file,
26 output : [eo_file + '.legacy.h'],
27 depfile : eo_file + '.legacy.d',
28 install : true,
29 install_dir : dir_package_include,
30 command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories,
21 '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), 31 '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
22 '-gchl', '@INPUT@']) 32 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.d'),
23 33 '-gld', '@INPUT@'])
24endforeach 34endforeach
25 35
26pub_eo_files = [ 36pub_eo_files = [
@@ -72,12 +82,14 @@ foreach eo_file : pub_eo_files
72 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 82 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
73 input : eo_file, 83 input : eo_file,
74 output : [eo_file + '.h'], 84 output : [eo_file + '.h'],
85 depfile : eo_file + '.d',
75 install : true, 86 install : true,
76 install_dir : dir_package_include, 87 install_dir : dir_package_include,
77 command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, 88 command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories,
78 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), 89 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
79 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), 90 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
80 '-gch', '@INPUT@']) 91 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
92 '-gchd', '@INPUT@'])
81endforeach 93endforeach
82 94
83# special handling, because this is already eo API and legacy API 95# special handling, because this is already eo API and legacy API