forked from enlightenment/efl
meson - re-enable emotion_test binaries and data like autofoo
This commit is contained in:
parent
a0d47d6370
commit
c9dca7ce5d
|
@ -5,7 +5,7 @@ edc_files = [
|
||||||
themes = []
|
themes = []
|
||||||
|
|
||||||
foreach edc_file : edc_files
|
foreach edc_file : edc_files
|
||||||
themes += custom_target('edje_cc_' + edc_file,
|
themes += custom_target('edje_cc_' + edc_file,
|
||||||
input : edc_file,
|
input : edc_file,
|
||||||
output : '@BASENAME@.edj',
|
output : '@BASENAME@.edj',
|
||||||
command : edje_cc_exe + [ '-beta',
|
command : edje_cc_exe + [ '-beta',
|
||||||
|
@ -17,5 +17,8 @@ foreach edc_file : edc_files
|
||||||
'-md', meson.current_source_dir(),
|
'-md', meson.current_source_dir(),
|
||||||
'-td', meson.current_source_dir(),
|
'-td', meson.current_source_dir(),
|
||||||
'@INPUT@', '@OUTPUT@'],
|
'@INPUT@', '@OUTPUT@'],
|
||||||
depends : edje_cc)
|
depends : edje_cc,
|
||||||
|
install : true,
|
||||||
|
install_dir : join_paths(dir_data, 'emotion', 'data')
|
||||||
|
)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
|
@ -1,19 +1,21 @@
|
||||||
subdir('data')
|
subdir('data')
|
||||||
|
|
||||||
emotion_eo_suite = executable('emotion_eo_suite',
|
emotion_test_eo = executable('emotion_test-eo',
|
||||||
'emotion_test_main-eo.c', themes,
|
'emotion_test_main-eo.c', themes,
|
||||||
dependencies: [check, eo, evas, emotion, ecore_evas, edje, ecore],
|
dependencies: [eo, evas, emotion, ecore_evas, edje, ecore],
|
||||||
include_directories : config_dir,
|
include_directories : config_dir,
|
||||||
|
install: true,
|
||||||
c_args : [
|
c_args : [
|
||||||
'-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
|
'-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
|
||||||
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
||||||
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
|
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
|
||||||
)
|
)
|
||||||
|
|
||||||
emotion_suite = executable('emotion_suite',
|
emotion_test = executable('emotion_test',
|
||||||
'emotion_test_main.c', themes,
|
'emotion_test_main.c', themes,
|
||||||
dependencies: [check, eo, evas, emotion, ecore_evas, edje, ecore],
|
dependencies: [eo, evas, emotion, ecore_evas, edje, ecore],
|
||||||
include_directories : config_dir,
|
include_directories : config_dir,
|
||||||
|
install: true,
|
||||||
c_args : [
|
c_args : [
|
||||||
'-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
|
'-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
|
||||||
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
||||||
|
|
Loading…
Reference in New Issue