summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-13 13:42:55 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-02-14 13:00:56 +0100
commitac6061057355c21cb8d48bd6517344923dde7681 (patch)
treebdbd034faade1c9c06b1b47d775a1abe888806f0
parenta49c783c32e095a5280f2c5bd334e7ff92759620 (diff)
build: add a option to bootstrap eolian
this is here in order to make cross compiling easier, and we can just provide the *all the time changing* eolian_gen binary. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7929
-rw-r--r--meson.build33
-rw-r--r--meson_options.txt6
2 files changed, 27 insertions, 12 deletions
diff --git a/meson.build b/meson.build
index d6b9b6074d..401ba04f00 100644
--- a/meson.build
+++ b/meson.build
@@ -242,6 +242,12 @@ endif
242 242
243ecore_evas_wayland_engine_include_dir = [] 243ecore_evas_wayland_engine_include_dir = []
244 244
245boot_strap_eolian = [
246 ['evil' ,[] , false, true, false, false, false, false, [], []],
247 ['eina' ,[] , false, true, false, false, false, false, [], []],
248 ['eolian' ,[] , false, true, true, false, false, false, ['eina'], []],
249]
250
245subprojects = [ 251subprojects = [
246# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs 252# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs
247['evil' ,[] , false, true, false, false, false, false, [], []], 253['evil' ,[] , false, true, false, false, false, false, [], []],
@@ -304,6 +310,9 @@ test_dirs = []
304example_dirs = [] 310example_dirs = []
305tmp_empty = declare_dependency() 311tmp_empty = declare_dependency()
306 312
313if get_option('eolian-bootstrap')
314 subprojects = boot_strap_eolian
315endif
307 316
308foreach package : subprojects 317foreach package : subprojects
309 package_name = package[0] 318 package_name = package[0]
@@ -404,23 +413,23 @@ foreach package : subprojects
404 413
405endforeach 414endforeach
406 415
407#build this later, as the debug services are depending on ecore
408subdir(join_paths('src', 'bin', 'efl'))
409
410subdir(join_paths('src', 'generic', 'evas'))
411subdir(join_paths('src', 'generic', 'emotion'))
412subdir('cmakeconfig') 416subdir('cmakeconfig')
417#build this later, as the debug services are depending on ecore
418if get_option('eolian-bootstrap') == false
419 subdir(join_paths('src', 'bin', 'efl'))
413 420
414bindings = get_option('bindings') 421 subdir(join_paths('src', 'generic', 'evas'))
415 422 subdir(join_paths('src', 'generic', 'emotion'))
416foreach binding : bindings
417 subdir(join_paths('src', 'bindings', binding))
418endforeach
419 423
420subdir(join_paths('src', 'edje_external')) 424 bindings = get_option('bindings')
421 425
426 foreach binding : bindings
427 subdir(join_paths('src', 'bindings', binding))
428 endforeach
422 429
423subdir(join_paths('data')) 430 subdir(join_paths('src', 'edje_external'))
431 subdir(join_paths('data'))
432endif
424 433
425if get_option('build-tests') 434if get_option('build-tests')
426 check = dependency('check') 435 check = dependency('check')
diff --git a/meson_options.txt b/meson_options.txt
index 651fbcc01e..c1677606ee 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -353,3 +353,9 @@ option('elementary-base-dir',
353 value : '.elementary', 353 value : '.elementary',
354 description : 'Put the name of a base directory for elementary data' 354 description : 'Put the name of a base directory for elementary data'
355) 355)
356
357option('eolian-bootstrap',
358 type : 'boolean',
359 value : false,
360 description : 'Only build efl up to eolian_gen and install eina libeolian and eolian_gen, usefull for cross compiles'
361)