forked from enlightenment/efl
build: add a option to disable eo file installation
Summary: this is done because .eo files are not stable, and in order to stop people depending on it, its better for now to disable the installation of them for now. ref T7676 Reviewers: stefan_schmidt, cedric, zmike, devilhorns Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7676 Differential Revision: https://phab.enlightenment.org/D7897
This commit is contained in:
parent
8a6e89358d
commit
30bb8395c3
|
@ -366,3 +366,9 @@ option('eolian-bootstrap',
|
||||||
value : false,
|
value : false,
|
||||||
description : 'Only build efl up to eolian_gen and install eina libeolian and eolian_gen, usefull for cross compiles'
|
description : 'Only build efl up to eolian_gen and install eina libeolian and eolian_gen, usefull for cross compiles'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('install-eo-files',
|
||||||
|
type: 'boolean',
|
||||||
|
value: false,
|
||||||
|
description : 'Set this to false to not install any eo file'
|
||||||
|
)
|
||||||
|
|
|
@ -220,9 +220,11 @@ ecore = declare_dependency(
|
||||||
|
|
||||||
eolian_ecore_dir = join_paths(eolian_include_dir, package_version_name)
|
eolian_ecore_dir = join_paths(eolian_include_dir, package_version_name)
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: eolian_ecore_dir
|
install_dir: eolian_ecore_dir
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(ecore_header_src,
|
install_headers(ecore_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -92,9 +92,11 @@ ecore_audio = declare_dependency(
|
||||||
dependencies: ecore_audio_pub_deps,
|
dependencies: ecore_audio_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: eolian_ecore_dir
|
install_dir: eolian_ecore_dir
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(ecore_audio_header_src,
|
install_headers(ecore_audio_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -200,9 +200,11 @@ ecore_con = declare_dependency(
|
||||||
dependencies: ecore_con_pub_deps,
|
dependencies: ecore_con_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: eolian_ecore_dir
|
install_dir: eolian_ecore_dir
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(ecore_con_header_src,
|
install_headers(ecore_con_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -31,6 +31,9 @@ foreach eo_file : pub_eo_files
|
||||||
'-gchd', '@INPUT@'])
|
'-gchd', '@INPUT@'])
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files,
|
install_data(pub_eo_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
|
@ -34,6 +34,9 @@ foreach eo_file : pub_eo_files
|
||||||
'-gchd', '@INPUT@'])
|
'-gchd', '@INPUT@'])
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files,
|
install_data(pub_eo_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
|
@ -55,9 +55,11 @@ pub_eo_types_files = [
|
||||||
'ector_types.eot'
|
'ector_types.eot'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(ector_pub_eo_files + pub_eo_types_files,
|
install_data(ector_pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
foreach eo_file : pub_eo_types_files
|
foreach eo_file : pub_eo_types_files
|
||||||
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
||||||
|
|
|
@ -45,6 +45,9 @@ if cpu_sse3 == true
|
||||||
ector_opt_lib += [ ector_opt ]
|
ector_opt_lib += [ ector_opt ]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files,
|
install_data(pub_eo_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
|
@ -158,9 +158,12 @@ edje = declare_dependency(
|
||||||
dependencies: edje_pub_deps,
|
dependencies: edje_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(edje_header_src,
|
install_headers(edje_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -138,9 +138,11 @@ foreach eo_file : pub_eo_types_files
|
||||||
'-ghd', '@INPUT@'])
|
'-ghd', '@INPUT@'])
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
efl_interfaces_eo_files = pub_eo_files
|
efl_interfaces_eo_files = pub_eo_files
|
||||||
efl_interfaces_eot_files = pub_eo_types_files
|
efl_interfaces_eot_files = pub_eo_types_files
|
||||||
|
|
|
@ -83,9 +83,12 @@ eio = declare_dependency(
|
||||||
dependencies: eio_pub_deps,
|
dependencies: eio_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(eio_header_src,
|
install_headers(eio_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -109,9 +109,12 @@ eldbus = declare_dependency(
|
||||||
dependencies: eldbus_pub_deps,
|
dependencies: eldbus_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(eldbus_header_src,
|
install_headers(eldbus_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -1013,9 +1013,12 @@ elementary = declare_dependency(
|
||||||
dependencies: elementary_pub_deps,
|
dependencies: elementary_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(elementary_header_src,
|
install_headers(elementary_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
pub_legacy_eo_files = [
|
pub_eo_file = [
|
||||||
'efl_canvas_video.eo'
|
'efl_canvas_video.eo'
|
||||||
]
|
]
|
||||||
|
|
||||||
pub_eo_file_target = []
|
pub_eo_file_target = []
|
||||||
priv_eo_file_target = []
|
priv_eo_file_target = []
|
||||||
|
|
||||||
foreach eo_file : pub_legacy_eo_files
|
foreach eo_file : pub_eo_file
|
||||||
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
||||||
input : eo_file,
|
input : eo_file,
|
||||||
output : [eo_file + '.h'],
|
output : [eo_file + '.h'],
|
||||||
|
@ -62,9 +62,11 @@ emotion = declare_dependency(
|
||||||
dependencies: emotion_pub_deps,
|
dependencies: emotion_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
install_data(pub_legacy_eo_files,
|
if get_option('install-eo-files')
|
||||||
|
install_data(pub_eo_file,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(emotion_header_src,
|
install_headers(emotion_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -72,9 +72,11 @@ eo_dbg = declare_dependency(
|
||||||
dependencies: eo_deps + eo_pub_deps,
|
dependencies: eo_deps + eo_pub_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_eo_files + pub_eo_types_files,
|
install_data(pub_eo_files + pub_eo_types_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(eo_header,
|
install_headers(eo_header,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
|
@ -202,9 +202,11 @@ evas_pre_lib_dep = declare_dependency(
|
||||||
dependencies: [evas_deps, m, draw, valgrind, libunibreak]
|
dependencies: [evas_deps, m, draw, valgrind, libunibreak]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if get_option('install-eo-files')
|
||||||
install_data(pub_evas_eo_files + pub_evas_eot_files,
|
install_data(pub_evas_eo_files + pub_evas_eot_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers(evas_header_src,
|
install_headers(evas_header_src,
|
||||||
install_dir : dir_package_include,
|
install_dir : dir_package_include,
|
||||||
|
|
Loading…
Reference in New Issue