forked from enlightenment/efl
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
This commit is contained in:
parent
a49c783c32
commit
ac60610573
15
meson.build
15
meson.build
|
@ -242,6 +242,12 @@ endif
|
||||||
|
|
||||||
ecore_evas_wayland_engine_include_dir = []
|
ecore_evas_wayland_engine_include_dir = []
|
||||||
|
|
||||||
|
boot_strap_eolian = [
|
||||||
|
['evil' ,[] , false, true, false, false, false, false, [], []],
|
||||||
|
['eina' ,[] , false, true, false, false, false, false, [], []],
|
||||||
|
['eolian' ,[] , false, true, true, false, false, false, ['eina'], []],
|
||||||
|
]
|
||||||
|
|
||||||
subprojects = [
|
subprojects = [
|
||||||
# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs
|
# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs
|
||||||
['evil' ,[] , false, true, false, false, false, false, [], []],
|
['evil' ,[] , false, true, false, false, false, false, [], []],
|
||||||
|
@ -304,6 +310,9 @@ test_dirs = []
|
||||||
example_dirs = []
|
example_dirs = []
|
||||||
tmp_empty = declare_dependency()
|
tmp_empty = declare_dependency()
|
||||||
|
|
||||||
|
if get_option('eolian-bootstrap')
|
||||||
|
subprojects = boot_strap_eolian
|
||||||
|
endif
|
||||||
|
|
||||||
foreach package : subprojects
|
foreach package : subprojects
|
||||||
package_name = package[0]
|
package_name = package[0]
|
||||||
|
@ -404,12 +413,13 @@ foreach package : subprojects
|
||||||
|
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
subdir('cmakeconfig')
|
||||||
#build this later, as the debug services are depending on ecore
|
#build this later, as the debug services are depending on ecore
|
||||||
|
if get_option('eolian-bootstrap') == false
|
||||||
subdir(join_paths('src', 'bin', 'efl'))
|
subdir(join_paths('src', 'bin', 'efl'))
|
||||||
|
|
||||||
subdir(join_paths('src', 'generic', 'evas'))
|
subdir(join_paths('src', 'generic', 'evas'))
|
||||||
subdir(join_paths('src', 'generic', 'emotion'))
|
subdir(join_paths('src', 'generic', 'emotion'))
|
||||||
subdir('cmakeconfig')
|
|
||||||
|
|
||||||
bindings = get_option('bindings')
|
bindings = get_option('bindings')
|
||||||
|
|
||||||
|
@ -418,9 +428,8 @@ foreach binding : bindings
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
subdir(join_paths('src', 'edje_external'))
|
subdir(join_paths('src', 'edje_external'))
|
||||||
|
|
||||||
|
|
||||||
subdir(join_paths('data'))
|
subdir(join_paths('data'))
|
||||||
|
endif
|
||||||
|
|
||||||
if get_option('build-tests')
|
if get_option('build-tests')
|
||||||
check = dependency('check')
|
check = dependency('check')
|
||||||
|
|
|
@ -353,3 +353,9 @@ option('elementary-base-dir',
|
||||||
value : '.elementary',
|
value : '.elementary',
|
||||||
description : 'Put the name of a base directory for elementary data'
|
description : 'Put the name of a base directory for elementary data'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('eolian-bootstrap',
|
||||||
|
type : 'boolean',
|
||||||
|
value : false,
|
||||||
|
description : 'Only build efl up to eolian_gen and install eina libeolian and eolian_gen, usefull for cross compiles'
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue