summaryrefslogtreecommitdiff
path: root/src/lib/evas_goal
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/evas_goal
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/evas_goal')
-rw-r--r--src/lib/evas_goal/meson.build11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/evas_goal/meson.build b/src/lib/evas_goal/meson.build
index 057006884c..d233520925 100644
--- a/src/lib/evas_goal/meson.build
+++ b/src/lib/evas_goal/meson.build
@@ -7,9 +7,11 @@ evas_lib = library('evas',
7 version : meson.project_version() 7 version : meson.project_version()
8) 8)
9 9
10evas_pub_deps = [eina, ecore, ector, emile, evas_pre]
11
10evas = declare_dependency( 12evas = declare_dependency(
11 link_with : [evas_lib], 13 link_with : [evas_lib],
12 dependencies : [eina, ecore, ector, emile, evas_pre], 14 dependencies : evas_pub_deps,
13 include_directories : evas_include_directories 15 include_directories : evas_include_directories
14) 16)
15 17
@@ -19,11 +21,16 @@ evas_bin = declare_dependency(
19 include_directories : evas_include_directories 21 include_directories : evas_include_directories
20) 22)
21 23
24tmp_package_subdirs = []
22automatic_pkgfile = false 25automatic_pkgfile = false
23 26
27foreach subdir : evas_header_subdirs
28 tmp_package_subdirs += join_paths('evas-'+version_major, subdir)
29endforeach
30
24pkgconfig.generate(evas_lib, 31pkgconfig.generate(evas_lib,
25 name : 'evas', 32 name : 'evas',
26 subdirs : 'evas-'+version_major, 33 subdirs : ['evas-'+version_major] + tmp_package_subdirs,
27 version : version_major + '.' + version_minor, 34 version : version_major + '.' + version_minor,
28 libraries : [eina, ecore, ector, emile, dependency('luajit')], 35 libraries : [eina, ecore, ector, emile, dependency('luajit')],
29) 36)