diff --git a/meson.build b/meson.build index d6b9b6074d..401ba04f00 100644 --- a/meson.build +++ b/meson.build @@ -242,6 +242,12 @@ endif 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 = [ # name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs ['evil' ,[] , false, true, false, false, false, false, [], []], @@ -304,6 +310,9 @@ test_dirs = [] example_dirs = [] tmp_empty = declare_dependency() +if get_option('eolian-bootstrap') + subprojects = boot_strap_eolian +endif foreach package : subprojects package_name = package[0] @@ -404,23 +413,23 @@ foreach package : subprojects endforeach -#build this later, as the debug services are depending on ecore -subdir(join_paths('src', 'bin', 'efl')) - -subdir(join_paths('src', 'generic', 'evas')) -subdir(join_paths('src', 'generic', 'emotion')) subdir('cmakeconfig') +#build this later, as the debug services are depending on ecore +if get_option('eolian-bootstrap') == false + subdir(join_paths('src', 'bin', 'efl')) -bindings = get_option('bindings') + subdir(join_paths('src', 'generic', 'evas')) + subdir(join_paths('src', 'generic', 'emotion')) -foreach binding : bindings - subdir(join_paths('src', 'bindings', binding)) -endforeach + bindings = get_option('bindings') -subdir(join_paths('src', 'edje_external')) + foreach binding : bindings + subdir(join_paths('src', 'bindings', binding)) + endforeach - -subdir(join_paths('data')) + subdir(join_paths('src', 'edje_external')) + subdir(join_paths('data')) +endif if get_option('build-tests') 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', value : '.elementary', 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' +)