forked from enlightenment/efl
meson: support cmakeconfigs
this was forgotten, but its required from Ecrire Clouseau etc. fixes T7540. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7541
This commit is contained in:
parent
a8e23cc400
commit
9c256beb2e
|
@ -0,0 +1,61 @@
|
|||
|
||||
cmake_src = [
|
||||
'Ecore',
|
||||
'EcoreCxx',
|
||||
'Edje',
|
||||
'Eet',
|
||||
'EetCxx',
|
||||
'Eeze',
|
||||
'Efl',
|
||||
'Efreet',
|
||||
'Eina',
|
||||
'EinaCxx',
|
||||
'Eio',
|
||||
'Eldbus',
|
||||
'Elementary',
|
||||
'Elua',
|
||||
'Emile',
|
||||
'Emotion',
|
||||
'Eo',
|
||||
'EoCxx',
|
||||
'Eolian',
|
||||
'EolianCxx',
|
||||
'EthumbClient',
|
||||
'Ethumb',
|
||||
'Evas',
|
||||
'EvasCxx',
|
||||
]
|
||||
|
||||
cmake_version_src = [
|
||||
'EFL',
|
||||
'Elementary',
|
||||
]
|
||||
|
||||
foreach cmake_file : cmake_src
|
||||
configure_file(
|
||||
input: cmake_file+'Config.cmake.in',
|
||||
output: cmake_file+'Config.cmake',
|
||||
install_dir: join_paths(dir_lib, 'cmake', cmake_file),
|
||||
copy: true,
|
||||
)
|
||||
endforeach
|
||||
|
||||
conf = configuration_data()
|
||||
|
||||
conf.set('VERSION', meson.version())
|
||||
|
||||
foreach cmake_version_file : cmake_version_src
|
||||
configure_file(
|
||||
input: cmake_version_file+'ConfigVersion.cmake.in',
|
||||
output: cmake_version_file+'ConfigVersion.cmake',
|
||||
install_dir: join_paths(dir_lib, 'cmake', cmake_version_file),
|
||||
configuration : conf,
|
||||
)
|
||||
endforeach
|
||||
|
||||
configure_file(
|
||||
input: 'EolianHelper.cmake.in',
|
||||
output: 'EolianHelper.cmake',
|
||||
install_dir: join_paths(dir_lib, 'cmake', 'Eolian'),
|
||||
copy: true
|
||||
)
|
|
@ -404,6 +404,7 @@ subdir(join_paths('src', 'bin', 'efl'))
|
|||
|
||||
subdir(join_paths('src', 'generic', 'evas'))
|
||||
subdir(join_paths('src', 'generic', 'emotion'))
|
||||
subdir('cmakeconfig')
|
||||
|
||||
bindings = ['luajit', 'cxx', 'mono']
|
||||
|
||||
|
|
Loading…
Reference in New Issue