summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-19 15:47:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-24 12:05:58 +0200
commite19d2391476965d7b8e8865a766734947cc3099f (patch)
tree2ae1c6f451970a92b10b550995aecb512e38a817 /src/lib/efl
parent5a3d79d3833a85675a26875594b5b07a99d79365 (diff)
meson: prepare general build for the bindings
for bindings we needed a system that could be used to find all special directories of every subsystem, for eo files headers etc. The mechanism is documented in the root meson.build Differential Revision: https://phab.enlightenment.org/D7180
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/meson.build12
-rw-r--r--src/lib/efl/meson.build7
2 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/efl/interfaces/meson.build b/src/lib/efl/interfaces/meson.build
index cb39cff2e5..012bc12ff2 100644
--- a/src/lib/efl/interfaces/meson.build
+++ b/src/lib/efl/interfaces/meson.build
@@ -119,6 +119,8 @@ foreach eo_file : pub_eo_files
119 '-gchd', '@INPUT@']) 119 '-gchd', '@INPUT@'])
120endforeach 120endforeach
121 121
122pub_eo_files += pub_legacy_eo_files
123
122pub_eo_types_files = [ 124pub_eo_types_files = [
123 'efl_gfx_types.eot', 125 'efl_gfx_types.eot',
124 'efl_ui_types.eot', 126 'efl_ui_types.eot',
@@ -140,7 +142,15 @@ foreach eo_file : pub_eo_types_files
140 '-ghd', '@INPUT@']) 142 '-ghd', '@INPUT@'])
141endforeach 143endforeach
142 144
143pub_eo_files = files(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files) 145install_data(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files,
146 install_dir: join_paths(eolian_include_dir, package_version_name)
147)
148
149efl_interfaces_eo_files = pub_eo_files
150efl_interfaces_eot_files = pub_eo_types_files
151
152pub_eo_files = []
153pub_eo_types_files = []
144 154
145efl_src += files([ 155efl_src += files([
146 'efl_interfaces_main.c', 156 'efl_interfaces_main.c',
diff --git a/src/lib/efl/meson.build b/src/lib/efl/meson.build
index 75acef3b54..cadf14bdab 100644
--- a/src/lib/efl/meson.build
+++ b/src/lib/efl/meson.build
@@ -9,6 +9,7 @@ efl_header_src = [
9efl_src = [] 9efl_src = []
10 10
11subdir('interfaces') 11subdir('interfaces')
12package_header_subdirs += 'interfaces'
12 13
13efl_lib = library('efl', 14efl_lib = library('efl',
14 efl_src, pub_eo_file_target, 15 efl_src, pub_eo_file_target,
@@ -24,10 +25,8 @@ efl = declare_dependency(
24 sources : pub_eo_file_target 25 sources : pub_eo_file_target
25) 26)
26 27
27install_data(pub_eo_files,
28 install_dir: join_paths(eolian_include_dir, package_version_name)
29)
30
31install_headers(efl_header_src, 28install_headers(efl_header_src,
32 install_dir : dir_package_include, 29 install_dir : dir_package_include,
33) 30)
31
32package_eo_subdirs += ['interfaces']